
On Thu, May 1, 2025 at 1:13 PM Stephen J. Turnbull <steve@turnbull.jp> wrote:
Hitashi mancho writes:
*May 01 13:11:43 2025 (673989) list1@example.com <list1@example.com>: Discarded posting: From: user1@example.com <user1@example.com> Subject: subject 2025 - Reg.*
In this log, it is unclear which moderator discarded this message. Is there any way we can add that to the log?
Not easily. That log comes from Mailman core (the list database/post distribution component). The authority core sees to act on that is "you know the REST access user and password", but that's known by Postorius, not by moderators. Weirdly, Postorius doesn't seem to keep a log of user logins at all.
If you *need* to know, you can trace back through the logs like this:
mailman/vette: <DATE> (<PID>) <LIST>: Discarded posting: From: <EMAIL ADDRESS> Subject: <TEXT> mailman/mailman: [DATE] "POST /3.1/lists/<LIST>/held/8 HTTP/1.1" 204 0 "-" "GNU Mailman REST client v3.3.5" postorius/access: 127.0.0.1 - - [<DATE>] "POST /mailman3/lists/<LIST>/held_messages HTTP/1.0" 200 15228 "<REFERRER>" "<USER AGENT>" nginx/access: <MODERATOR IP> - - [<DATE>] "POST /mailman3/lists/LIST/held_messages HTTP/1.1" 200 3080 "<REFERRER>" "<USER AGENT>"
where the DATE should match within a few seconds across the logs and you can probably ID the moderator from the IP address.
So this issue can be addressed by making Postorius to log user logins, right? However, I don't have the patch :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]