On 1/28/2010 5:32 AM, Nick Lunt wrote:
Hi all,

postfix-2.3.3-2.1.el5_2

If the subject does not match match /*.ABC.*/ and the recipient is
"f...@example.com" I want this email to be discarded.

This is not for spam detection it's simply an organisational
requirement.

Does anyone have a method to achieve this ?

Many thanks
Nick.


This requires a content_filter or milter that can compare both the subject and the envelope recipient.

Probably SpamAssassin with some custom rules would be the easiest (or maybe regexp-milter if it can compare multiple items -- don't know, I don't use it).

  -- Noel Jones

Reply via email to