Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
hey all I'm trying to setup sendmail on pne of my remote RedHat distibutions, i red few tutorials but no luck When I test connection in outlook i see SMTP ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70

    Question sendmail - need help in setup

    hey all
    I'm trying to setup sendmail on pne of my remote RedHat distibutions, i red few tutorials but no luck
    When I test connection in outlook i see SMTP and POP server but i cant login or send test message

    My knowlage of Linux is minimal so i cant really debug and pinpoint my missconfiguration.

    Can some one guide me to find what i did wrong?

    Also one of my bigest conser is that my mail server be secure, at least so that some one can not use it as smapm zombi by accessing it ananimously (well its not publik server but i doint wanna get my IP or domain dirty)

    Please help
    Really appreciate it

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Have you to read this Quick HOWTO : Ch21 : Configuring Linux Mail Servers - Linux Home Networking

    It helped me lot while working with sendmail. I have documented my experience here gET iT i sAY .giis - ext3 File Undelete Tool
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    that link seams something close thta i followed but in more details...
    its midnigh (ups actually 1 am) so will try that again and hopefully it will work from second attempt

    thank you!

  4. #4
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    i just tried tha tutuorial and still haveing isses sending file
    when i try to check resipient over the telnet im geting Replying Denied error
    so far googling all over the place but not sure what to do?

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    Could you post the exact error message?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  6. #6
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    well that was exact error message but let me get actuall line from log file
    ul 20 18:14:17 domU-12-31-39-02-60-D2 sendmail[8626]: n6KMC6Zc008626: ruleset=check_rcpt, arg1=XXXX@hotmail.com, relay=server1.XXXX.net [XXX.129.117.XXX], reject=550 5.7.1 XXXXX@hotmail.com... Relaying denied
    Jul 20 18:14:33 domU-12-31-39-02-60-D2 sendmail[8626]: n6KMC6Zc008626: from=root@XXXX.net, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=server1.XXXX.net [XXX.129.117.XXX]
    Jul 21 04:44:36 domU-12-31-39-02-60-D2 sendmail[28775]: n6L8iZCY028775: from=root, size=1504, class=0, nrcpts=1, msgid=<200907210844.n6L8iZCY028775@domU-12-31-39-02-60-D2.compute-1.internal>, relay=root@localhost
    Jul 21 04:44:36 domU-12-31-39-02-60-D2 sendmail[28819]: n6L8ia3o028819: from=<root@domU-12-31-39-02-60-D2.compute-1.internal>, size=1864, class=0, nrcpts=1, msgid=<200907210844.n6L8iZCY028775@domU-12-31-39-02-60-D2.compute-1.internal>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Jul 21 04:44:36 domU-12-31-39-02-60-D2 sendmail[28775]: n6L8iZCY028775: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31504, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n6L8ia3o028819 Message accepted for delivery)
    Jul 21 04:44:36 domU-12-31-39-02-60-D2 sendmail[28820]: n6L8ia3o028819: to=<root@domU-12-31-39-02-60-D2.compute-1.internal>, ctladdr=<root@domU-12-31-39-02-60-D2.compute-1.internal> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32158, dsn=2.0.0, stat=Sent
    Jul 21 15:28:12 domU-12-31-39-02-60-D2 sendmail[16157]: n6LJS7Rf016157: ruleset=check_rcpt, arg1=<tv9977ccv@yahoo.com.tw>, relay=114-45-56-197.dynamic.hinet.net [114.45.56.197], reject=550 5.7.1 <tv9977ccv@yahoo.com.tw>... Relaying denied
    Jul 21 15:28:12 domU-12-31-39-02-60-D2 sendmail[16157]: n6LJS7Rf016157: lost input channel from 114-45-56-197.dynamic.hinet.net [114.45.56.197] to MTA after rcpt
    Jul 21 15:28:12 domU-12-31-39-02-60-D2 sendmail[16157]: n6LJS7Rf016157: from=<z2007tw@yahoo.com.tw>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=114-45-56-197.dynamic.hinet.net [114.45.56.197]

    I have replaced my private infoo with XXX, I also see some one from TW was tring to send some spam to server... dont know what even happened w/ that one...

  7. #7
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Does all these mails bounced back to your "root" user mail box?
    and also post the sendmail.mc file contents ?

    Have you tried with Gmail? Because While I'm configuring sendmail gmail gave me less trouble than others.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  8. #8
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    my first try was through google as recipint address but no luck

    How do i check my root mailbox?
    Tnx

  9. #9
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    login as root and run the command
    mail
    that should shows root user mails.

    from your log:to address is root and machine is local host and stat is sent
    Jul 21 04:44:36 domU-12-31-39-02-60-D2 sendmail[28775]: n6L8iZCY028775: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31504, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n6L8ia3o028819 Message accepted for delivery)
    check these links:

    HOWTO: How to send mail using telnet connection to SMTP server

    Send mail via telnet / test for open relay | Sendmail | Tech-Recipes
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  10. #10
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    i used the same steps as guided in the link but here:
    4. Send email address of the recipient

    rcpt to: ime@domain.tld

    250 ok
    I got error saying that replying is denied

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...