[Mimedefang] spamassassin network tests

Jan-Pieter Cornet johnpc at xs4all.nl
Thu Nov 8 03:59:43 EST 2007

On Wed, Nov 07, 2007 at 09:27:29PM -0500, alex wrote:
> hi,
> is there a way to only do spamassassin network tests for a spamassassin
> score betweeen 3 and 5?


SpamAssassin fires off the network tests very early in the analysis
phase, and then goes on to match all rulesets. After processing the
rulesets, it will collect the results of the network tests.

SpamAssassin 3.2 introduced a "short-circuit" option, but that triggers
on the firing of one single rule, so you cannot say "stop processing
if the score exceeds x". There used to be an option like that, but
there could be negative-scoring rules still to be tried, bringing
the score down again. In theory you could solve that by giving rules
with a negative score a small priority value, but you cannot lower
the priority of network whitelist tests too much, since they are
collected after the regex rules (well, technically, once you reach
HARVEST_DNSBL_PRIORITY, which is priority 500. Practically everything
runs before that).

Jan-Pieter Cornet <johnpc at xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!

More information about the MIMEDefang mailing list