Solved

Sendmail not working on CentOS

Posted on 2009-07-16
4
658 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

726 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