LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sendmail not sending to internet email addresses (https://www.linuxquestions.org/questions/linux-newbie-8/sendmail-not-sending-to-internet-email-addresses-629641/)

wstclair 03-21-2008 08:18 AM

Sendmail not sending to internet email addresses
 
I am running Fedora Linux 8 with Sendmail running and I am not able to send mail outside of my internal domain. If I send mail to people @knowledgecg.com it works fine, but if I try to send mail outside of knowledgecg.com I see in /var/log/maillog a user UnKnown message. Is there some network config I need to do on the box? I am able to get to the Internet with no problem. Thanks for any help!!!

Mar 21 08:46:10 Apollo sendmail[3004]: m2LCkA76003004: to=wstclair33@yahoo.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30
566, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m2LCkALe003005 Message accepted for delivery)
Mar 21 08:46:10 Apollo sendmail[3003]: STARTTLS=client, relay=mail.knowledgecg.com, version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128
Mar 21 08:46:10 Apollo sendmail[3007]: STARTTLS=client, relay=mail.knowledgecg.com, version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128
Mar 21 08:46:10 Apollo sendmail[2999]: STARTTLS=client, relay=mail.knowledgecg.com, version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128
Mar 21 08:46:10 Apollo sendmail[3007]: m2LCkALe003005: to=<wstclair33@yahoo.com>, ctladdr=<apache@Apollo> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=re
lay, pri=120668, relay=mail.knowledgecg.com [192.168.1.14], dsn=5.7.1, stat=User unknown
Mar 21 08:46:10 Apollo sendmail[2999]: m2LCk9O3002997: to=<wstclair33@yahoo.com>, ctladdr=<apache@Apollo> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=re
lay, pri=120852, relay=mail.knowledgecg.com [192.168.1.14], dsn=5.7.1, stat=User unknown
Mar 21 08:46:10 Apollo sendmail[3007]: m2LCkALe003005: m2LCkALe003007: DSN: User unknown
Mar 21 08:46:10 Apollo sendmail[3007]: m2LCkALe003007: to=<apache@Apollo>, delay=00:00:00, mailer=local, pri=31881, dsn=4.4.3, stat=queued
Mar 21 08:46:10 Apollo sendmail[2999]: m2LCk9O3002997: m2LCkAO3002999: DSN: User unknown


Is there some network config I need to do on the box? I am able to get to the Internet with no problem.

simplicissimus 03-21-2008 09:39 AM

configure for relying
 
You might need to setup sendmail for relaying. The fact that sendmail does run and that other applications are able to send mail to external addresses does not automatically enable the same mailing functionality for commandline scripts. Sending mails to other accounts on the same PC usually works. Sending external mail usually not (at least not by default).

Having it this way is actually a good idea, it prevents scripts on shared hosted servers to send tons of spam mail.

Configuring sendmail properly can be difficult and there can be a lot reasons why it doesn't work. Often enough sendmail is replaced with postfix or exim or whatever, making the file 'sendmail' a softlink to these applications. Though FC8 installs sendmail proper, as far as I know. Your mail log file by itself gives no info about your settings.

A good and easy to read tutor on sendmail configuration is
http://www.linuxselfhelp.com/quick/sendmail.html


Hope this helps,
Regards,
SIMP

Fedora Development


All times are GMT -5. The time now is 03:39 PM.