Solved

Sendmail not working on CentOS

Posted on 2009-07-16
4
650 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
Comment Utility
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
Comment Utility
Please define "dont forget to run make"

Thanks
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
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
Comment Utility
Great -- Thanks
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now