ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> spamassassin-users
spamassassin-users
Re: Do all plugins get a crack?
by Justin Mason other posts by this author
Oct 2 2006 6:49AM messages near this date
Do all plugins get a crack? | Re: Do all plugins get a crack?
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.
Thread:
Robert Nicholson
Justin Mason
robert

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved