Solved

Sendmail not working on CentOS

Posted on 2009-07-16
4
655 Views
Last Modified: 2013-12-18
I have a CentOS server configured with sendmail and none of my messages seem to be sent.

I am looking at the maillog fiel and see this error "Jul 16 13:38:43 fmsubbnix sendmail[1140]: n6GHcgRE001026: n6GHchRE001140: DSN: Host unknown (Name server: outgoing.earthlink.net: host not found)"

My guess is the the parameter "Name server: outgoing.earthlink.net" is incorrectly configured.   I probably need to use the company's smtp relay server.  Where is this value located?


0
Comment
Question by:gordonmann
  • 2
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24871757
can this server resolv external host ?

smart host , option would be on

/etc/mail/sendmail.mc

look for smart host options in their , and use company smtp server

define(`SMART_HOST', `smtp.your.provider')dnl


dont forget to run

make

then restart sendmail
0
 
LVL 1

Author Comment

by:gordonmann
ID: 24872056
Please define "dont forget to run make"

Thanks
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24872075
if you change any sendmail configuration

you need to execute make command

just type

make

then restart  sendmail
0
 
LVL 1

Author Closing Comment

by:gordonmann
ID: 31604343
Great -- Thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question