logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mail::SpamAssassin::AutoWhitelist - auto-whitelist handler for SpamAssassin

Description

       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.

Methods

       $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.

perl v5.34.0                                       2023-03-23             Mail::SpamAssassin::AutoWhitelist(3pm)

Name

       Mail::SpamAssassin::AutoWhitelist - auto-whitelist handler for SpamAssassin

Synopsis

         (see Mail::SpamAssassin)

See Also