Provided by: spamassassin_3.4.4-1ubuntu1_all
Mail::SpamAssassin::AutoWhitelist - auto-whitelist handler for SpamAssassin
Mail::SpamAssassin is a module to identify spam using text analysis and several internet- based realtime blacklists. This class is used internally by SpamAssassin to manage the automatic whitelisting functionality. Please refer to the "Mail::SpamAssassin" documentation for public interfaces.
$meanscore = awl->check_address($addr, $originating_ip, $signedby); This method will return the mean score of all messages associated with the given address, or undef if the address hasn't been seen before. If $originating_ip is supplied, it will be used in the lookup. awl->count(); This method will return the count of messages used in determining the whitelist correction. awl->add_score($score); This method will add half the score to the current entry. Half the score is used, so that repeated use of the same From and IP address combination will gradually reduce the score. awl->add_known_good_address($addr); This method will add a score of -100 to the given address -- effectively "bootstrapping" the address as being one that should be whitelisted. awl->add_known_bad_address($addr); This method will add a score of 100 to the given address -- effectively "bootstrapping" the address as being one that should be blacklisted.