Solved

Sendmail not working on CentOS

Posted on 2009-07-16
4
657 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
To show how to generate a certificate request 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 Servers >> Certificates…
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…

730 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