On 1/28/2011 2:49 PM, Jerrale G wrote:
from *mail.sheltoncomputers.com (mail [127.0.0.1]) * by
mail.sheltoncomputers.com (SC Mail Server) with ESMTP id
182431B60017 for <[email protected]>; Fri, 28 Jan
2011 15:44:05 -0500 (EST)

The correct address, for mail.sheltoncomputers.com is
173.50.101.12. I am actually doing this to make the headers
correct, due to the bug of Centos.


This looks as if it's added by a hop through a content_filter.

The "mail.sheltoncomputers.com" is the HELO name supplied by the upstream client, the connection comes from 127.0.0.1 which the system resolves to the hostname "mail".

Mangling the header to make it appear as if it came from another IP address is the wrong choice -- it really did come from 127.0.0.1.

Better choices:
- do nothing. The header correctly records where the mail has been, even if it's not pretty. - change the upstream client to HELO with something different than mail.sheltoncomputers.com.
- fix your hosts file so that 127.0.0.1 doesn't resolve to "mail".
- REPLACE it with something generic like "X-Filtered: by mail.sheltoncomputers.com"
- use header_checks IGNORE action to remove the offending header.



  -- Noel Jones

Reply via email to