LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2008, 08:18 AM   #1
wstclair
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
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.
 
Old 03-21-2008, 09:39 AM   #2
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
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

Last edited by simplicissimus; 04-02-2008 at 04:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail - send email on different IP addresses dalemcd Linux - Newbie 1 01-17-2008 02:00 PM
Sendmail - not sending email to outside. Blash Linux - Networking 2 05-03-2007 05:09 AM
Email sending problem when sent to some addresses tenzan Linux - Networking 2 09-19-2006 10:14 PM
qmail server, local users sending mail with incorrect email addresses HoundDog Linux - Networking 2 01-04-2006 02:40 AM
Problem using Sendmail to email certain addresses sethen Linux - Networking 1 11-19-2003 10:26 AM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration