Postfix amavisd-new header cleaning
Laurent Dinclaux
laurent at gecka.com
Sat Apr 11 07:14:29 UTC 2009
Hello,
here is the setup I have:
- spamd called directly (to benefit from spamassassin all_spam_to
config that I need)
- amavisd for clamav scanning (for nice notices to recipient and
sender of a virus infected email)
It is working nicely.
Now I want to remove some headers:
Received: by localhost.localdomain (Postfix, from userid 8)
id 386ED28449AB; Sat, 11 Apr 2009 18:05:11 +1100 (NCT)
And
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....
May someone advice me on that please?
(master.cf attached)
--
Laurent Dinclaux
Gérant - Gecka SARL
laurent at gecka.nc
Tel: +687 78 77 24
http://www.gecka.com
Préservez nos forêts, n’imprimez vos mails que si nécessaire.
Preserve our forests, only print your emails if necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: master.cf
Type: application/octet-stream
Size: 5634 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20090411/4f055f18/attachment.obj>
More information about the ubuntu-server
mailing list