Postfix amavisd-new header cleaning

Serge van Ginderachter serge at
Sat Apr 11 07:36:08 UTC 2009

> Received: from localhost (localhost [])
> 	by localhost.localdomain (Postfix) with ESMTP id B265928449AA
> I have tried to put header_checks=regexp:/etc/postfix/
> in, in cleanup section in smtp-amavis and in
> with no success....

I have a line like this as a header check:
 ( postconf -e header_checks=regexp:/etc/postfix/regexp.header-checks )

 /^Received: from localhost \(localhost \[127\.0\.0\.1\]\)/ IGNORE

And this works like a charm.


More information about the ubuntu-server mailing list