sa-awl1
Examine and manipulate spamassassin's auto-welcomelist db
Usage
sa-awl [--clean]
[--dry-run]
[--min
n]
[dbfile]
Overview
Check or clean a SpamAssassin auto-welcomelist (AWL) database file.
The name of the file is specified after any options, as "dbfile". The default is "$HOME/.spamassassin/auto-welcomelist".
Options
-
--clean -
Clean out infrequently-used AWL entries. The
"--min"switch can be used to select the threshold at which entries are kept or deleted.
-
--dry-run -
When specified with th
"--clean"option it displays the infrequently-used AWL entries that will be deleted. The"--min"switch can be used to select the threshold at which entries are kept or deleted.
-
--min n -
Select the threshold at which entries are kept or deleted when
"--clean"is used. The default is2, so entries that have only been seen once are deleted.
Output
The output looks like this:
AVG (TOTSCORE/COUNT) -- EMAIL|ip=IPBASE
For example:
0.0 (0.0/7) -- [email protected]|ip=208.19221.8 (43.7/2) -- [email protected]|ip=200.106
"AVG" is the average score; "TOTSCORE" is the total score of all mails seen so far; "COUNT" is the number of messages seen from that sender; "EMAIL" is the sender's email address, and "IPBASE" is the AWL base IP address.
AWL base IP address is a way to identify the sender's IP address they frequently send from, in an approximate way, but remaining hard for spammers to spoof. The algorithm is as follows:
- take the last Received header that contains a public IP address -- namelyone which is not in private, unrouted IP space.- chop off the last two octets, assuming that the user may be in an ISP'sdynamic address pool.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.
--dry-run since Debian 12 (Bookworm).