Question : Sendmail not working on CentOS

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?


Answer : Sendmail not working on CentOS

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
Random Solutions  
 
programming4us programming4us