about postfix and Mailscanner

Drew Marshall drew at technologytiger.net
Fri Sep 29 09:43:47 IST 2006

On Fri, September 29, 2006 06:41, Fajar wrote:
> I don't know why the tricks doesn't work, but this is the website.
> http://www.nabble.com/Hide-internal-address-(Postfix)-t887800.html

You can't use this with MailScanner. Because Postfix works on a first
match basis, if you get a match in the header check Postfix will do what
you ask then queue the mail for delivery, by passing MailScanner totally.
This can be useful in some situations but should be used with care and
understanding hence the wiki set up instructions use a very broad regex in
header_checks and make no mention of anything else.

The route to remove headers is in MailScanner using the ruleset as
described by Glenn. Between Postfix and MailScanner you can do everything
a plain Postfix set up would allow and then some.


More information about the MailScanner mailing list