On Fri, 2007-11-16 at 18:37 +0100, Noiano wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hello folks
> I have a little problem. My email provider has a spam filter which
> marks all spam email with "[Suspected Spam]" in the subject of the
> spam message. Now I would like that SpamAssassin when finds that
> pattern in the subject immediately breaks any analysis and mark the
> email as spam without performing any time consuming calculations. It
> seems to me a waste of time to re-analyze spam email already
> categorized as spam. So I joined the #SpamAssassin channel on
> freenode and someone told me to add:
> 
> blacklist_subject [Suspected Spam]
> 
> but the analysis is still performed. So he told me to look at the
> shortcircuit plugin. I looked at this page
> http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_Shortcircuit.html
> but I didn't understand what to write in my local.cf in order to
> achieve my aims.
> 
> Can anyone help?

in whatever.pre:

loadplugin Mail::SpamAssassin::Plugin::Shortcircuit


in local.cf

ifplugin Mail::SpamAssassin::Plugin::Shortcircuit

priority -500 SUBJECT_IN_BLACKLIST
shortcircuit SUBJECT_IN_BLACKLIST spam

endif

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to