Dear All who supported me,
Especially Wietse Venema, Noel Jones and Mark Martinec and others.
Final conclusion for me was, header_checks is not the best way to
handle my problem. Setup separate instances in Postfix and as guided
by Noel Jones and Mark Martinec setup amavisd-new to listen on
multiple ports and setup a policy bank.
This has solved my problem.
Thanks to these wonderful solutions of Postfix, Amavisd-new, ClamAV
and SPAMAssassin and many more.
Regards,
Anant.
----- Message from Wietse Venema <wie...@porcupine.org> ---------
Date: Mon, 3 Sep 2012 09:13:09 -0400 (EDT)
From: Wietse Venema <wie...@porcupine.org>
Subject: Re: headers_check confusion
To: an...@isac.gov.in
Cc: postfix-users@postfix.org
an...@isac.gov.in:
Dear List,
I have following header_check
/^X-ABC:.*XYZ.*/ DUNNO
This matches X-ABC: followed by whatever, followed by XYZ.
!/^X-ABC:.*XYZ.*/ FILTER smtp:a.b.c.d:yyyy
This matches ALL OTHER MESSAGE HEADERS.
Wietse
----- End message from Wietse Venema <wie...@porcupine.org> -----
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------