[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    Re: Do all plugins get a crack?
From:       jm () jmason ! org (Justin Mason)
Date:       2006-10-02 13:48:46
Message-ID: 20061002134846.69E0C59000F () radish ! jmason ! org
[Download RAW message or body]


Robert Nicholson writes:
>I've got plugins that are running and if they are positive I really  
>don't need to run any more plugins.
>
>Q. Do all plugins run against a message or can you configure things  
>so that one plugin aborts the running of others?
>
>in my init.pre I have
>
># URIDNSBL - look up URLs found in the message against several DNS
># blocklists.
>#
>loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
>
># Hashcash - perform hashcash verification.
>#
>loadplugin Mail::SpamAssassin::Plugin::Hashcash
>
># SPF - perform SPF verification.
>#
>loadplugin Mail::SpamAssassin::Plugin::SPF
>
>and my local.cf has
>
>dcc_home /home/robert/etc/dcc
>
>loadplugin Mail::SpamAssassin::Plugin::URICountry
>
>...
>
>Is it possible to have a plugin's result stop the running of plugins  
>all together?

in SpamAssassin 3.2.0 (as yet unreleased), yes, you can use the
Shortcircuit plugin to do this.

--j.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic