[Mailman-Users] diacritics in from header with from_is_list set to munge

gabriel gabriel at unseen.is
Thu Jan 21 07:43:48 EST 2016


On Thu, Jan 21, 2016 at 11:44:26AM +0900, Stephen J. Turnbull wrote:
> 
> Absent a bug in the email package.  But yes, I'm suggesting exactly
> that there's a broken MUA out there sending something that doesn't
> parse correctly, and the email package is failing to respect the "In
> the face of ambiguity, refuse to guess" Zen.

unfortunately i cannot check for the python version as i don't have 
commandline access to the server.

> 
> We really need to see both the input and the output headers that
> Mailman sends and receives.
> 

i can only send the headers that i receive over the list and those of the
messages that get bounced. i don't want to bother the whole list with debugging
messages.

so the message of users getting bounced look like (abbreviated):


--===============8546344873151602248==
Content-Type: message/rfc822
MIME-Version: 1.0

Delivered-To: mailman-mylist-bounces at some.server.org
Return-Path: <>
Received: from localhost (localhost [127.0.0.1])
  (ftp://ftp.isi.edu/in-notes/rfc1894.txt)
  by some.server.org with dsn; Wed, 20 Jan 2016 16:27:08 +0100
  id 000000000000002C.00000000569FA74C.00002C9F
From: "server.org postmaster" <postmaster at server.org>
To: mylist-bounces at lists.mydomain.org
Subject: NOTICE: mail delivery status.
Mime-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
    boundary="=_courier_0"
Content-Transfer-Encoding: 7bit
Message-ID: <courier.00000000569FA74C.00002C9F at some.server.org>
Date: Wed, 20 Jan 2016 16:27:08 +0100

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier_0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii


This is a delivery status notification from some.server.org,
running the Courier mail server, version 0.75.0.

The original message was received on Wed, 20 Jan 2016 16:26:48 +0100
from some.server.org ([::1])

---------------------------------------------------------------------------

                           UNDELIVERABLE MAIL

Your message to the following recipients cannot be delivered:

 <xxxxxxxxxxxxx at yahoo.fr>:
     mx-eu.mail.am0.yahoodns.net [188.125.69.79]:
 >>> DATA
 <<< 554 Message not allowed - [299]

[...]


The original message follows as a separate attachment.


Received: from some.server.org ([::1])
  by some.server.org with ESMTP; Wed, 20 Jan 2016 16:26:48 +0100
  id 0000000000000066.00000000569FA738.000029C1
Delivered-To: mailman-mylist at some.server.org
Old-Return-Path: <valerie at mydomain.org>
MIME-Version: 1.0
Date: Wed, 20 Jan 2016 16:26:44 +0100
To: mylist at lists.mydomain.org
In-Reply-To: <7e498749e02d18656fd14393b90cdc38 at mydomain.org>
References: <7e498749e02d18656fd14393b90cdc38 at mydomain.org>
Message-ID: <a74fc9f373a741532c5f3d25404435ba at mydomain.org>
X-Sender: valerie at mydomain.org
Subject: [mylist] some subject
X-BeenThere: mylist at lists.mydomain.org
X-Mailman-Version: 2.1.20
Precedence: list
From: =?utf-8?q?Val=C3=A9rie/Something_via_mylist_=3Cmyli?=,
      =?utf-8?b?ZW5AbGlzdHMubXRtZWRpYS5vcmc+?=
Reply-To: valerie at mydomain.org
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Errors-To: mylist-bounces at lists.mydomain.org
Sender: "mylist" <mylist-bounces at lists.mydomain.org>




so the message on the list finally looks like this:


X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Return-Path: <mylist-bounces at lists.mydomain.org>
Delivered-To: mailman-mylist at some.server.org
Old-Return-Path: <valerie at mydomain.org>
MIME-Version: 1.0
Date: Wed, 20 Jan 2016 16:26:44 +0100
To: mylist at lists.mydomain.org
In-Reply-To: <7e498749e02d18656fd14393b90cdc38 at mydomain.org>
References: <7e498749e02d18656fd14393b90cdc38 at mydomain.org>
Message-ID: <a74fc9f373a741532c5f3d25404435ba at mydomain.org>
X-Sender: valerie at mydomain.org
Subject: [mylist] some subject
X-BeenThere: mylist at lists.mydomain.org
X-Mailman-Version: 2.1.20
Precedence: list
From:
  =?utf-8?q?Val=C3=A9rie/Something_via_mylist_=3Cmyli?=@some.server.org,
  =?utf-8?b?ZW5AbGlzdHMubXRtZWRpYS5vcmc+?=@some.server.org
Reply-To: valerie at mydomain.org
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Errors-To: mylist-bounces at lists.mydomain.org
Sender: "mylist" <mylist-bounces at lists.mydomain.org>






More information about the Mailman-Users mailing list