[Bug 8396] New: unable to manage global WL / BL

[email protected] Tue, 26 May 2026 23:43:59 +0000
Newsgroups gmane.mail.spam.spamassassin.devel
Message-ID <[email protected]/SpamAssassin/>
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=3D8396

            Bug ID: 8396
           Summary: unable to manage global WL / BL
           Product: Spamassassin
           Version: 4.0.0
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
  Target Milestone: Undefined

+++ This bug was initially created as a clone of Bug #8126 +++

We have txrep and user preferences in a database.
In local.cf, I set user_awl_sql_override_username to 0 (we use user's ids in
the database)
txrep_user2global_ratio is set to 5.

Now, txrep itself is working and adds rows to the table both with the speci=
fic
user's id and 0 as the "global" id.

However, if - as root - I run this:

spamassassin --add-addr-to-welcomelist=3Dsomedomain.tld,spf

the username being used for the purpose of txrep is not '0'.
Also, no entries whatsoever are being added to (or modified) in the txrep t=
able
using this command.

To make matters worse:
The spamassassin command does not (like sa-learn or spamc) allow overriding=
 the
username.
spamc on the other hand cannot be used to issue for the
--add-addr-to-welcomelist functionality.

At the moment, this seems to me to prevent me from managing the global WL or
BL.

I guess I must be missing something? Does all this work as intended?

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=