Mark, thank you too for the answer! Most of the questions are answered on my mail to Stephen, but find the rest below.
Mark Sapiro <[email protected]> ezt írta (időpont: 2026. márc. 26., Cs, 9:08): > I suspect you have a list:user:notice:rejected.txt template other than > the default defined in the file system somewhere, probably in the > /opt/mailman/mm/var/templates/ hierarchy. I say this because the default > template at > /opt/mailman/venv/lib/python3.11/site-packages/mailman/templates/en/list:user:notice:rejected.txt > > doesn't contain a hex ED (lower case i with acute accent) character. > Only found this, nothing on the other path: # cat /opt/mailman/venv/lib/python3.11/site-packages/mailman/templates/en/list:user:notice:rejected.txt Your message to the $listname mailing-list was rejected for the following reasons: $reasons The original message as received by Mailman is attached. The issue is the list's preferred language is English and the preferred > character set for English is ascii and the resultant message built from > the template contains that non-ascii character. > OK, well, would be convenient to use my native language, but many templates have no translation. This is an empty file: # ls -l /opt/mailman/venv/lib/python3.11/site-packages/mailman/templates/hu/list:user:notice:rejected.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 /opt/mailman/venv/lib/python3.11/site-packages/mailman/templates/hu/list:user:notice:rejected.txt As a matter of fact, most of my templates are empty! # ls -l /opt/mailman/venv/lib/python3.11/site-packages/mailman/templates/hu total 16 -rw-r--r-- 1 mailman mailman 0 May 3 2025 domain:admin:notice:new-list.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 help.txt -rw-r--r-- 1 mailman mailman 337 May 3 2025 list:admin:action:post.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:action:subscribe.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:action:unsubscribe.txt -rw-r--r-- 1 mailman mailman 212 May 3 2025 list:admin:notice:disable.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:notice:increment.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:notice:pending.txt -rw-r--r-- 1 mailman mailman 96 May 3 2025 list:admin:notice:removal.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:notice:subscribe.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:notice:unrecognized.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:admin:notice:unsubscribe.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:member:digest:header.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:member:digest:masthead.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:member:generic:footer.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:member:regular:header.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:action:invite.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:action:subscribe.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:action:unsubscribe.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:goodbye.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:hold.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:no-more-today.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:post.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:probe.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:refuse.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:rejected.txt -rw-r--r-- 1 mailman mailman 0 May 3 2025 list:user:notice:warning.txt -rw-r--r-- 1 mailman mailman 735 May 3 2025 list:user:notice:welcome.txt I don't see why it's packaged like this – I know that translations don't come easy. I picked up the maintenance of the SMF forum engine's translations, and it's brutal how many hours it took to get it to a decent state. However, Mailman could use English as a fallback for missing translations; getting the notifications in English is still better than getting empty messages which is confusing. mailman qfile > > /opt/mailman/mm/var/queue/shunt/1774486082.6627975+afc236d96580c03921fa8a6f172f4a81eb2d20f6.pck Thank you! This is really useful, because at least I can be sure that the moderation action itself worked and it is indeed attempting to send the notification. 'member_moderation_action': 'reject', > 'moderation_reasons': ['The message is not from a list member'], > > I have so many questions... > > > > 1. What is it about the ASCII encoding? "ordinal not in range(128)"? > > What do we even do with ASCII in 2026? I tried to send a message > that only > > contains ASCII characters, but the result was the same, so it's > probably > > not in the e-mail contents. > > It's in the template. There are reasons, mostly historical but also > practical why the default character set for English is ascii. Also see > <https://gitlab.com/mailman/mailman/-/work_items/1268>. WOW, looks like the same problem, and it's also fairly recent. It must have been something overlooked for years and now suddenly two people noticed around the same time. _______________________________________________ Mailman-users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/[email protected]/message/CWTCGIPD36RBO76HD4XOE3MB5PJKGCD4/ This message sent to [email protected]
