OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 2nd content filter?

From: Duncan Hill (postfixnacnud.force9.co.uk)
Date: Fri Dec 03 2004 - 02:33:41 CST


On Thursday 02 December 2004 22:02, Robin Lynn Frank might have typed:

> I asked, "Looking thru amavisd.conf I see it is possible to keep mail
> from
> specific addresses from being run thru spamassassin.
>
> What I'd like to do is the reverse...feed only specified addresses thru
> spamassassin.", on the amavis list on Saturday. No answer yet.

I missed what version of Amavisd-new you're using, but perusal of
README.lookups indicates that something like

spam_lovers_acl = qw( !wants_sa !wants_sa2 !wants_sa3 . );

should do the trick. There's also the bypass_spam_checks acl.

(2.2 amavisd-new, and probably earlier versions too)