diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-08-11 10:19:23 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2022-08-11 10:19:23 +0200 |
commit | d0e7c31dc69f320c724f7d3c081639962e3b7ab6 (patch) | |
tree | e55e48cb2860d5492c1ba24952c7256da8f76d89 /wiki | |
parent | 15fe2d6a451d42c11941abfc8db931a4cb100530 (diff) |
new file; update mailmanmain
Diffstat (limited to 'wiki')
-rw-r--r-- | wiki/mailman.md | 20 | ||||
-rw-r--r-- | wiki/webstats.md | 13 |
2 files changed, 33 insertions, 0 deletions
diff --git a/wiki/mailman.md b/wiki/mailman.md index c9b5c2b..fa73770 100644 --- a/wiki/mailman.md +++ b/wiki/mailman.md @@ -46,3 +46,23 @@ Type "help", "copyright", "credits" or "license" for more information. >>> email.utils.getaddresses([s]) [('12 45678901234567890123456789012345678901 3456789012345678901234 678901234', 'testing@lists.sigsum.org')] ``` + + +2022-08-05 in #mailman@Libera.Chat +``` +<ln5> hi all, have anyone of you experienced erroneous moderation due to + implicit destination when posting with To: "long string with spaces, 76 + chars will do" <list address>? [09:05] +<ln5> i tracked it down to mailman/src/mailman/rules/implicit_dest.py and + verified that mail.utils.getaddresses() at least doesn't get things + wrong, so i guess it might be the msg.get_all(header, []) that's borken + [09:07] +<ln5> now, to debug this what's a decent option? simply editing + /usr/lib/python3/dist-packages/mailman/rules/implicit_dest.py (i'm on + debian11, with the mailman3 package installed) and adding print()'s? or + what do you suggest? [09:10] +<ln5> to further incite you to care about this, the case is a real one: the + dmarc mitigation strategy of rewriting the address part of From: to the + list address and composing a fullname part indiciating whoe the sender + is can generate a From: header which is then used as To: in a reply +``` diff --git a/wiki/webstats.md b/wiki/webstats.md new file mode 100644 index 0000000..89cc390 --- /dev/null +++ b/wiki/webstats.md @@ -0,0 +1,13 @@ +With access logs from listen.so. + +``` +sudo apt install goaccess +mkdir db +gzip -cdf access.log* | goaccess --log-format VCOMMON --persist --db-path db -o report.html - +``` + +To add more data to an existing db: + +``` +cat new-accesslog | goaccess --log-format VCOMMON --restore --persist --db-path db -o report.html - +``` |