> Received: from localhost (localhost [127.0.0.1])
>       by localhost.localdomain (Postfix) with ESMTP id B265928449AA
> 
> I have tried to put header_checks=regexp:/etc/postfix/header_check.cf
> in main.cf, in cleanup section in smtp-amavis and in 127.0.0.1:10025
> 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.


 Serge

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to