1Mail::SpamAssassin::AutUosWehritCeolnitsrti(b3u)ted PerlMaDiolc:u:mSepnatmaAtsisoanssin::AutoWhitelist(3)
2
3
4
6 Mail::SpamAssassin::AutoWhitelist - auto-whitelist handler for
7 SpamAssassin
8
10 (see Mail::SpamAssassin)
11
13 Mail::SpamAssassin is a module to identify spam using text analysis and
14 several internet-based realtime blacklists.
15
16 This class is used internally by SpamAssassin to manage the automatic
17 whitelisting functionality. Please refer to the "Mail::SpamAssassin"
18 documentation for public interfaces.
19
21 $meanscore = awl->check_address($addr, $originating_ip, $signedby);
22 This method will return the mean score of all messages associated
23 with the given address, or undef if the address hasn't been seen
24 before.
25
26 If $originating_ip is supplied, it will be used in the lookup.
27
28 awl->count();
29 This method will return the count of messages used in determining
30 the whitelist correction.
31
32 awl->add_score($score);
33 This method will add half the score to the current entry. Half the
34 score is used, so that repeated use of the same From and IP address
35 combination will gradually reduce the score.
36
37 awl->add_known_good_address($addr);
38 This method will add a score of -100 to the given address --
39 effectively "bootstrapping" the address as being one that should be
40 whitelisted.
41
42 awl->add_known_bad_address($addr);
43 This method will add a score of 100 to the given address --
44 effectively "bootstrapping" the address as being one that should be
45 blacklisted.
46
47
48
49perl v5.34.0 2021-07-2M3ail::SpamAssassin::AutoWhitelist(3)