Re: bayes/txrep questions

Bill Cole <[email protected]>
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
On 2025-02-16 at 10:38:38 UTC-0500 (Sun, 16 Feb 2025 10:38:38 -0500)
Alex <[email protected]>
is rumored to have said:

[quoting me]

>> TxRep (like AWL) is fed not by Bayes learning (sa-learn) but rather 
>> it
>> tracks the combination of an address and a source IP range (/24) with 
>> a
>> tally of the SA scores of messages using a subset of rules (no Bayes, 
>> no
>> TxRep/AWL). The TxRep or AWL DB can be seen and managed using the 
>> sa-awl
>> script and the listing action commands to the spamassassin script.
>>
>> Because of that, when I want to "learn" spam I feed to BOTH 'sa-learn
>> --spam' AND 'spamassassin --add-to-blacklist' so that both databases 
>> are
>> taught.
>
>
> Okay, very interesting. It's not entirely clear from the description
>
>      --add-to-blocklist                Add addresses in mail to 
> persistent
> address blocklist
>
> Is there a ham equivalent?
>
>       -W, --add-to-welcomelist          Add addresses in mail to 
> persistent
> address welcomelist


There is a single unified dynamic sender+source reputation list, 
implemented by TxRep or AWL, so it is a bit confusing that we use 
welcomelist and blocklist where it is really just one list with both 
negative and positive reputation factors.

The --add-to-blocklist action adds address+source records to the 
TxRep/AWL DB as
if the message has just arrived with a very HIGH positive score, by 
default 100

The --add-to-welcomelist action adds address+source records to the 
TxRep/AWL DB as if the message has just arrived with a very LOW negative 
score, by default -100

The --remove-from-welcomelist action REMOVES the address+source records 
from the TxRep/AWL DB that would have been added with either of the 
add-to actions.

The --remove-addr-from-welcomelist=<addr> action REMOVES the TxRep/AWL 
records related to a single specific email address without referencing 
any particular email message.

The --add-addr-to-welcomelist=<addr> action ADDS the TxRep/AWL records 
related to a single specific email address with a low negative 
(non-spam) score without referencing any particular email message.

The --add-addr-to-blocklist=<addr> action ADDS the TxRep/AWL records 
related to a single specific email address with a high positive (spam) 
score without referencing any particular email message.


Hopefully that clarifies...

-- 
  Bill Cole
  [email protected] or [email protected]
  (AKA @[email protected] and many *@billmail.scconsult.com 
addresses)
  Not Currently Available For Hire
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.