![](https://secure.gravatar.com/avatar/eb6e3c6de82f57ed33cfb8e55a2bea26.jpg?s=120&d=mm&r=g)
This appears to be a moderately FAQ, but I haven't yet found an answer in the archives, and I can't immediately extract one from the source.
As a list owner, how do I *by email* subscribe a number of users, without requiring either their or my separate approval? (The normal list setting is to require admin approval.)
![](https://secure.gravatar.com/avatar/3e7cee8dc520ab924dc0c83780f716c6.jpg?s=120&d=mm&r=g)
I have found quite a few descriptions about this, but none of them seems to be able to solve the problem.
I am using:
- Mailman 2.1.5
- Python-2.3.4-14.4.el4_6.1
- Redhat-release-4AS-7
- postfix-2.2.10-1.1.el4
I have a few cases of Danish characters not beind displayed correctly.
"Result of you commands" e-mail contains Quoted Printable
The E-mail archive is displayed in UTF-8
When users subscribe or unsubscribe to a list with a mail containing Danish characters æøåÆØÅ, they receive a mail with the result of their commands. This mail includes the 2 standard sections "Results" and "Not handled" (translated from Danish, so they might have other names). In the section of Not handled, the text is displayed in Quoted Printable "=20" or "=E6=F8=E5=C6=D8=C5".
I've read somewhere that I am suppose to put DEFAULT_CHARSET into mm_cfg.py, but as I understand the comments in the Defaults.py file, this is only when using Pipermail. Anyway, it doesn't change anything when I set it to ['iso-8859-1'].
Sending the mail as plain text, UTF-8, the resulting mail contains
æøåÆØÅ
w6bDuMOlw4bDmMOFDQo=
How am I support to make the result mails human readable?
The list's mail archive in mailserver.domain.tld/mailman/private/mylist/ contains Thread, Title, Author and Dato in Danish (Marts 2008: [ Tr d ] [ Titel ] [ Forfatter ] [ Dato ] [ Tekst 765 bytes ]). The webpage source contains the the word "Tråd" (instead of Tråd) and since the page is displayed in UTF-8, the word is displayed as "Tr d" with a square instead of the danish character.
I have tried changing the å in /usr/lib/mailman/templates/da/archtocentry.html to Tråd (and restarting Mailman), but this doesn't change anything. Changing the DEFAULT_CHARSET in mm_cfg.py doesn't make any chances either.
When changing the character set for the displayed webpage in the browser, to "West european (Windows)", the character displayed correct.
How can I change the archive to use ISO8859-1 instead of UTF-8?
Regards Henrik
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Henrik Rasmussen wrote:
You need to upgrade.
This is a bug (1829061) in pre 2.1.10 Mailman. CommandRunner didn't decode the quoted-printable message body before processing it.
This is fixed in Mailman 2.1.10, now in beta, or you can patch Mailman 2.1.5 Mailman/Queue/CommandRunner.py by changing line 94 from
body = part.get_payload()
to
body = part.get_payload(decode=True)
Doesn't change anything immediately, or after the TOC has been updated?.
The answer is in the paragraph above. The character set used for Danish throughout Mailman is iso-8859-1. It is your web server that is overriding this and sending a header with charset=UTF-8. You have to set your web server to not override Mailman's charset or to translate ISO-8859-1 into UTF-8
If your server is Apache, see the *Charset, and Charset* directives
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/3e7cee8dc520ab924dc0c83780f716c6.jpg?s=120&d=mm&r=g)
I have found quite a few descriptions about this, but none of them seems to be able to solve the problem.
I am using:
- Mailman 2.1.5
- Python-2.3.4-14.4.el4_6.1
- Redhat-release-4AS-7
- postfix-2.2.10-1.1.el4
I have a few cases of Danish characters not beind displayed correctly.
"Result of you commands" e-mail contains Quoted Printable
The E-mail archive is displayed in UTF-8
When users subscribe or unsubscribe to a list with a mail containing Danish characters æøåÆØÅ, they receive a mail with the result of their commands. This mail includes the 2 standard sections "Results" and "Not handled" (translated from Danish, so they might have other names). In the section of Not handled, the text is displayed in Quoted Printable "=20" or "=E6=F8=E5=C6=D8=C5".
I've read somewhere that I am suppose to put DEFAULT_CHARSET into mm_cfg.py, but as I understand the comments in the Defaults.py file, this is only when using Pipermail. Anyway, it doesn't change anything when I set it to ['iso-8859-1'].
Sending the mail as plain text, UTF-8, the resulting mail contains
æøåÆØÅ
w6bDuMOlw4bDmMOFDQo=
How am I support to make the result mails human readable?
The list's mail archive in mailserver.domain.tld/mailman/private/mylist/ contains Thread, Title, Author and Dato in Danish (Marts 2008: [ Tr d ] [ Titel ] [ Forfatter ] [ Dato ] [ Tekst 765 bytes ]). The webpage source contains the the word "Tråd" (instead of Tråd) and since the page is displayed in UTF-8, the word is displayed as "Tr d" with a square instead of the danish character.
I have tried changing the å in /usr/lib/mailman/templates/da/archtocentry.html to Tråd (and restarting Mailman), but this doesn't change anything. Changing the DEFAULT_CHARSET in mm_cfg.py doesn't make any chances either.
When changing the character set for the displayed webpage in the browser, to "West european (Windows)", the character displayed correct.
How can I change the archive to use ISO8859-1 instead of UTF-8?
Regards Henrik
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Henrik Rasmussen wrote:
You need to upgrade.
This is a bug (1829061) in pre 2.1.10 Mailman. CommandRunner didn't decode the quoted-printable message body before processing it.
This is fixed in Mailman 2.1.10, now in beta, or you can patch Mailman 2.1.5 Mailman/Queue/CommandRunner.py by changing line 94 from
body = part.get_payload()
to
body = part.get_payload(decode=True)
Doesn't change anything immediately, or after the TOC has been updated?.
The answer is in the paragraph above. The character set used for Danish throughout Mailman is iso-8859-1. It is your web server that is overriding this and sending a header with charset=UTF-8. You have to set your web server to not override Mailman's charset or to translate ISO-8859-1 into UTF-8
If your server is Apache, see the *Charset, and Charset* directives
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Henrik Rasmussen
-
Julian Bradfield
-
Mark Sapiro