Postfix amavisd-new header cleaning

Laurent Dinclaux laurent at
Sat Apr 11 07:14:29 UTC 2009


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)


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....

May someone advice me on that please?

( attached)

Laurent Dinclaux
Gérant - Gecka SARL
laurent at
Tel: +687 78 77 24

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...
Type: application/octet-stream
Size: 5634 bytes
Desc: not available
URL: <>

More information about the ubuntu-server mailing list