[Bug 1831321] [NEW] the List-Id field is filled without < and > around the list-id if the description contains unsupported characters
Public bug reported: According to rfc2919 the List-Id field should be formated like this: list-id-header = "List-ID:" [phrase] "<" list-id ">" CRLF This works as long as description is left blank or contains supported characters. In my case the description was as follows: �ffentliche Supportliste As you can see the umlaut "Ö" got broken while importing the list from an old server. Unfortunately I don't know how the import was done. The field is still present but < and > around the list-id are missing. This is problematic with procmail and other mail filters. ** Affects: mailman Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
I need more information to be able to duplicate this. What is the exact content of the list's description as produced by Mailman's `bin/config_list -o`, not from the web UI? What is the list's preferred_language? ** Changed in: mailman Status: New => Incomplete ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
I attached an export from our old server (via config_list -o). In my export the encoding looks OK. On our new server I had to fix the description from: description = "<D6>ffentliche Supportliste" (thats the way less displays the export on the new machine) to: description = "Öffentliche Supportliste" hexdump of the export on the new machine: 00000930 64 65 6e 2e 0a 64 65 73 63 72 69 70 74 69 6f 6e |den..description| 00000940 20 3d 20 22 d6 66 66 65 6e 74 6c 69 63 68 65 20 | = ".ffentliche | 00000950 53 75 70 70 6f 72 74 6c 69 73 74 65 22 0a 0a 23 |Supportliste"..#| preferred_language on the new system stayed the same through the ex-/import: preferred_language = 'de' It seems that the old setup was migrated using rsync. I was able to reproduce the problem by syncing only /var/lib/mailman/lists/helpdesk/config.pck from the old machine. This broke the encoding, and lead to the following mail header: List-Id: helpdesk.csn.tu-chemnitz.de We are currently using Mailman version 2.1.23 under Debian 9.9. The old machine ran with Ubuntu 12.04.5 LTS and Mailman version 2.1.14. ** Attachment added: "mm_old_config_for_import.conf" https://bugs.launchpad.net/mailman/+bug/1831321/+attachment/5268297/+files/m... -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
After fixing the broken letter through the web interface, I end up with: 00000930 64 65 6e 2e 0a 64 65 73 63 72 69 70 74 69 6f 6e |den..description| 00000940 20 3d 20 22 c3 96 66 66 65 6e 74 6c 69 63 68 65 | = "..ffentliche| 00000950 20 53 75 70 70 6f 72 74 6c 69 73 74 65 22 0a 0a | Supportliste"..| List-Id: =?utf-8?q?=C3=96ffentliche_Supportliste?= <helpdesk.csn.tu-chemnitz.de> -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
See https://bazaar.launchpad.net/~mailman- coders/mailman/2.1/revision/1813 The reason this broke on your server change was Debian's misguided changing of Mailman's character set for all languages to UTF-8. See https://bugs.launchpad.net/mailman/+bug/1462755 ** Changed in: mailman Importance: Undecided => Low ** Changed in: mailman Status: Incomplete => Fix Committed ** Changed in: mailman Milestone: None => 2.1.30 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
** Branch linked: lp:mailman/2.1 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1831321 Title: the List-Id field is filled without < and > around the list-id if the description contains unsupported characters To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1831321/+subscriptions
participants (3)
-
Florian Schlegel
-
Launchpad Bug Tracker
-
Mark Sapiro