On Wed, 26 Nov 2008, Sturgis, Grant wrote:

On Tue, 2008-11-25 at 11:53 -0700, Wietse Venema wrote:
Sturgis, Grant:
I'm trying to hide our internal mail servers from the message
headers of
outbound email.  I've done some reading about this and have found
two
solutions:
...
2.  Use header_checks like this
http://www.nabble.com/Hide-internal-address-(Postfix)-td2300995.html

Wietse Venema:
This removes ALL Received: headers. That is a bit drastic. You
could use a REPLACE action to sanitize IP address and hostname
information.

See: http://www.google.com/search?q=postfix+replace+received



I am having some problems getting this header_checks match.  The header
I am working with is this:

Received: from blackfoot.internal.com (blackfoot.arraybiopharma.com
[10.65.35.185])

So I've added this to my header_checks file for testing:

/^Received: from blackfoot\.internal\.com \(blackfoot\.arraybiopharma
\.com \[10\.65\.35\.185\]\) / HOLD


Can someone point out what I've done wrong?

The space between the last ')' and '/' characters. There won't be any space on the end. Besides, you only have to match up to the ending parenthesis.

Reply via email to