sendmail header removal

Randal, Phil prandal at
Tue Jan 5 16:13:41 GMT 2010

Be careful....  If you start removing Sendmail's "Received" headers
you're likely to break Sendmail's mail loop detection.
Been there, done it, got the t-shirt :-)


From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Steven
Sent: 05 January 2010 15:53
To: MailScanner discussion
Subject: sendmail header removal

I've got a couple sendmail/mailscanner boxes that we use to front end
our exchange boxes inbound and outbound.  We've run into a problem with
any email going to's clients as they do a deep header
analysis and find private IPs in the headers and then the block based on


This has happened multiple times and we always have to involve the
receiving customer in the conversation with mxlogic to get it fixed on a
per domain basis, and then months later it just comes back.  They know
they're not supposed to block based on that, but they really don't care.


So, what I'd like to do is find a way to rip out the private IPs of the
message headers when we send them, or massage them into public IPs.  Is
there any way to do this with sendmail?


Steven R. Andrews, President 
Andrews Companies Incorporated 
Small Business Information Technology Consultants 
sandrews at 
Phone: 317.536.1807

"If your only tool is a hammer, every problem looks like a nail." 

Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council.
You should be aware that Herefordshire Council monitors its email service.
This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list