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: [email protected]
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" <[email protected]>
To: [email protected]
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: <[email protected]>
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:

 <[email protected]>:
     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: [email protected]
Old-Return-Path: <[email protected]>
MIME-Version: 1.0
Date: Wed, 20 Jan 2016 16:26:44 +0100
To: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
X-Sender: [email protected]
Subject: [mylist] some subject
X-BeenThere: [email protected]
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: [email protected]
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Errors-To: [email protected]
Sender: "mylist" <[email protected]>




so the message on the list finally looks like this:


X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                 
                
Return-Path: <[email protected]>
Delivered-To: [email protected]
Old-Return-Path: <[email protected]>
MIME-Version: 1.0
Date: Wed, 20 Jan 2016 16:26:44 +0100
To: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
X-Sender: [email protected]
Subject: [mylist] some subject
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.20
Precedence: list
From:
  =?utf-8?q?Val=C3=A9rie/[email protected],
  [email protected]
Reply-To: [email protected]
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Errors-To: [email protected]
Sender: "mylist" <[email protected]>




------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to