[Mailman-Users] Charset conversion

Christian Schoepplein mail at schoeppi.net
Sun Aug 3 12:35:06 CEST 2003


I'm using mailman 2.1.2 that uses AFAIK email 2.5.1 for messageprocessing. 
However, I have a problem with some emails in mailmanlists :-(.

If the listlanguage is set to German (iso-8859-1) and a message is posted 
with this characterset to a list, everything works fine. If the posters 
use another characterset I get multiparted messages..., messages with 
attachments. For example a poster uses 7bit us-ascii in its mailer, in my 
lists appears a message with tow parts: The text from the poster in 
us-ascii and the listsignature in iso-8859-1. Such a meeeage looks like 

>From lh2-bounces at test.dom  Sat Aug  2 15:49:00 2003
Return-Path: <lh2-bounces at test.dom>
X-Original-To: test at toshiba.schoeppi
Delivered-To: test at toshiba.schoeppi
Received: from toshiba.schoeppi (localhost [])
	by toshiba.schoeppi (Postfix) with ESMTP
	id 621DC1047B; Sat,  2 Aug 2003 15:48:58 +0200 (CEST)
X-Original-To: lh2 at test.dom
Delivered-To: lh2 at test.dom
Received: by toshiba.schoeppi (Postfix, from userid 503)
	id F247F109C0; Sat,  2 Aug 2003 15:48:56 +0200 (CEST)
Date: Sat, 2 Aug 2003 15:48:56 +0200
From: Christian Schoepplein <test at toshiba.schoeppi>
To: lh2 at test.dom
Message-ID: <20030802134856.GE3587 at toshiba>
Mime-Version: 1.0
User-Agent: Mutt/1.4i
Subject: [Lh2] test
X-BeenThere: lh2 at test.dom
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: <lh2 at test.dom>
List-Id: <lh2.test.dom>
List-Unsubscribe: <http://localhost/mailman/listinfo/lh2>,
	<mailto:lh2-request at test.dom?subject=unsubscribe>
List-Post: <mailto:lh2 at test.dom>
List-Help: <mailto:lh2-request at test.dom?subject=help>
List-Subscribe: <http://localhost/mailman/listinfo/lh2>,
	<mailto:lh2-request at test.dom?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============64836026195830321=="
Sender: lh2-bounces at test.dom
Errors-To: lh2-bounces at test.dom

[-- Anhang #1 --]
[-- Typ: text/plain, Kodierung: 7bit, Größe: 0,1K --]
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


[-- Anhang #2 --]
[-- Typ: text/plain, Kodierung: quoted-printable, Größe: 0,1K --]
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline



My idea was to convert messages, that are not written with charset 
iso-8859-1 into this characterset. Most users are using charset 
windows-1252 in their mailers or their operatingsystem... So a big help 
would allready be, if windows-1252 is converted into iso-8859-1.

I tryed to set this up with the email-pakage by editing the file 
Carset.py, but I had no sugces :-(. Is it possible to do such a conversion 
with email and how do I have to set this up?

Allthough I don't know if my idea is good and mailman will do things right 
after changing the configuration of email, I'd like to have a try... Have 
yo heard of this problems and do you konw a better solution?

Thanks and best regards,

Christian Schoepplein | Beste Rockband der Welt: http://www.lily-rockt.de
mail at schoeppi.net     | Linux fuer Blinde: http://www.blinux.suse.de

More information about the Mailman-Users mailing list