[CentOS] Sendmail and headers

Chris Boyd cboyd at gizmopartners.com
Tue Sep 23 01:54:29 UTC 2008


On Sep 22, 2008, at 5:58 AM, Bob Hoffman wrote:

> Received: from 45.45.01.01 (EHLO server.myserverhostname.com)  
> (45.45.01.01)

You should have a PTR record for your IP address that matches the name  
that the server has configured in the
	define(`confDOMAIN_NAME', `server.foo.com')
line of your .mc file.

Then you should have an A record that resolves the domain name  
"server.foo.com" to the IP address that your server is connecting with.

Do this and your email will flow much more smoothly.

You should not have to fuss with masquerades just to deliver email for  
a bunch of Apache virtual host sites.

For extra credit you can configure SPF and Domain Keys, but this can  
have adverse side effects if the virtual host users are not careful  
about their email client configuration.

--Chris


More information about the CentOS mailing list