At 01:38 PM 3/9/2009, you wrote:
Hello,
I have a restriction that mandates only certain types of email to be
allowed outbound. If an email does not match a pattern, they want
that email BCCed to another account. Reading the documentation, I
see that body_checks isn't a good way to filter multiple lines and
that I should use something like Spamassassin (version 3.2.4). I
have that installed and working with Postfix (version 2.2.10).
The issue is how can I guarantee that only email fitting a certain
pattern will go through and others won't? Has anyone had a setup
similar to this, and is Spamassassin the best filter for this kind of setup?
Spamassassin won't work as Spamassassin cannot 'stop' mails. SA only
assigns scores. What you do with a message SA flagged (or rather
scored) as Spam or not spam is up to you.