Hmm... More on header mangling...
In-ter-esting.
Got a note that was sent to a yahoogroup, and to one of my mailman lists simultaneously.
Mailman did the "mangle the header line prematurely ending the headers" trick to it. But for once I can see what the header looked like originally!
In the yahoo group note it came out as:
X-Face: 34C9$Ewd2zeX+\!i1BA\j{ex+$/V'JBG#;3_noWWYPa"|,I#R"{n@w>#:{)FXyiAS7(8t( ^*w5O*!8O9YTe[r{e%7(yVRb|qxsRYw7J!`AM}m_SHaj}f8eb@d^L>BrX7iO[<!v4-0bVIpaxF#-)
%9#a9h6JXI|T|8o6t\V?kGl]Q!1V]GtNliUtz:3},0"hkPeBuu%E,j(:\iOX-P,t7lRR#
In my list I got X-Face: 34C9$Ewd2zeX+\!i1BA\j{ex+$/V'JBG#; 3_noWWYPa"|,I#`R"{n@w>#:{)FXyiAS7(8t(
^*w5O*!8O9YTe[r{e%7(yVRb|qxsRYw`7J!`AM}m_SHaj}f8eb@d^L>BrX7iO[<!v4-0bVIpaxF#-)
%9#a9h6JXI|T|8o6t\V?kGl]Q!1V]GtNliUtz:3},0"hkPeBuu%E,j(:\iOX-P,t7lRR#
That indenting looks like what the pickling process does to things. I'm wondering now if three line continued headers are breaking the header processor..
I ran a test message with that header through a test list, and sure enough, mailman rewrapped and mangled that header in my test message, consistently!
I'm sent (here's the raw esmtp session I used:)
ehlo babylon5.cc.vt.edu
mail from:<jarrell@vt.edu>
rcpt to:<rontest@babylon5.cc.vt.edu>
rcpt to:<jarrell@lennier.cc.vt.edu>
data
X-Face: 34C9$Ewd2zeX+\!i1BA\j{ex+$/V'JBG#; 3_noWWYPa"|,I#R"{n@w>#:{)FXyiAS7(8t( ^*w5O*!8O9YTe[r{e%7(yVRb|qxsRYw7J!`AM}m_SHaj}f8eb@d^L>BrX7iO[<!v4-0bVIpaxF#-)
%9#a9h6JXI|T|8o6t\V?kGl]Q!1V]GtNliUtz:3},0"hkPeBuu%E,j(:\iOX-P,t7lRR#
Date: Today
Subject: email test via dagger
From: jarrell@vt.edu
To: rontest@babylon5.cc.vt.edu, jarrell@lennier.cc.vt.edu
Test of header processing. . quit
I'm getting:
From rontest-bounces@babylon5.cc.vt.edu Fri May 17 18:24:55 2002 Delivery-Date: Fri, 17 May 2002 18:24:55 -0400 Return-Path: rontest-bounces@babylon5.cc.vt.edu Received: from babylon5.cc.vt.edu (babylon5.cc.vt.edu [128.173.14.193]) by lennier.cc.vt.edu (8.11.4/8.11.4) with ESMTP id g4HMOte384118 for <jarrell@lennier.cc.vt.edu>; Fri, 17 May 2002 18:24:55 -0400 (EDT) Received: from babylon5.cc.vt.edu (localhost [127.0.0.1]) by babylon5.cc.vt.edu (8.11.4/8.11.4) with ESMTP id g4HMOt612075 for <jarrell@vtserf.cc.vt.edu>; Fri, 17 May 2002 18:24:55 -0400 (EDT) Date: Fri, 17 May 2002 18:24:55 -0400 (EDT) From: rontest-bounces@babylon5.cc.vt.edu Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by babylon5.cc.vt.edu (8.11.4/8.11.4) with ESMTP id g4HMOr612070 for <rontest@babylon5.cc.vt.edu>; Fri, 17 May 2002 18:24:53 -0400 (EDT) Received: from dagger.cc.vt.edu (IDENT:mirapoint@dagger-lb.cc.vt.edu [10.1.1.11]) by lennier.cc.vt.edu (8.11.4/8.11.4) with ESMTP id g4HMOqe383213; Fri, 17 May 2002 18:24:52 -0400 (EDT) Received: from babylon5.cc.vt.edu (babylon5.cc.vt.edu [128.173.14.193]) by dagger.cc.vt.edu (Mirapoint Messaging Server MOS 3.1.0.54-GA) with ESMTP id AKR05504; Fri, 17 May 2002 18:08:34 -0400 (EDT) Message-Id: <200205172208.AKR05504@dagger.cc.vt.edu> X-Face: 34C9$Ewd2zeX+\!i1BA\j{ex+$/V'JBG#; 3_noWWYPa"|,I#`R"{n@w>#:{)FXyiAS7(8t(
^*w5O*!8O9YTe[r{e%7(yVRb|qxsRYw`7J!`AM}m_SHaj}f8eb@d^L>BrX7iO[<!v4-0bVIpaxF#-)
%9#a9h6JXI|T|8o6t\V?kGl]Q!1V]GtNliUtz:3},0"hkPeBuu%E,j(:\iOX-P,t7lRR# Date: Today From: jarrell@vt.edu To: rontest@babylon5.cc.vt.edu, jarrell@lennier.cc.vt.edu Subject: [Rontest] email test via dagger X-BeenThere: rontest@babylon5.cc.vt.edu X-Mailman-Version: 2.1b2+ Precedence: bulk Reply-To: rontest@babylon5.cc.vt.edu List-Id: Ron's Test list. <rontest.babylon5.cc.vt.edu> List-Post: <mailto:rontest@babylon5.cc.vt.edu> List-Subscribe: <http://babylon5.cc.vt.edu/mailman/listinfo/rontest>, <mailto:rontest-request@babylon5.cc.vt.edu?subject=subscribe> List-Unsubscribe: <http://babylon5.cc.vt.edu/mailman/listinfo/rontest>, <mailto:rontest-request@babylon5.cc.vt.edu?subject=unsubscribe> List-Archive: <http://babylon5.cc.vt.edu/pipermail/rontest> List-Help: <mailto:rontest-request@babylon5.cc.vt.edu?subject=help> Sender: rontest-bounces@babylon5.cc.vt.edu Errors-To: rontest-bounces@babylon5.cc.vt.edu
Test of header processing.
rontest mailing list - rontest@babylon5.cc.vt.edu http://babylon5.cc.vt.edu/mailman/listinfo/rontest
Note the break in the "X-Face" header...
I'm off to the code.. Or, perhaps, noting just now that it's after six on a friday and I'm still in the office, perhaps I'm off to the code on Monday :-)...
"RJ" == Ron Jarrell <jarrell@vt.edu> writes:
RJ> Mailman did the "mangle the header line prematurely ending the
RJ> headers" trick to it. But for once I can see what the header
RJ> looked like originally!
Confirmed (and sorry about that hold warning you probably got Ron ;).
Now I just need to figure out why! -Barry
At 10:50 PM 5/17/02 -0400, Barry A. Warsaw wrote:
"RJ" == Ron Jarrell <jarrell@vt.edu> writes:
RJ> Mailman did the "mangle the header line prematurely ending the RJ> headers" trick to it. But for once I can see what the header RJ> looked like originally!Confirmed (and sorry about that hold warning you probably got Ron ;).
Which had me confused as hell for about 30 seconds, trying to figure out how one of my tests ended up routed through wooz.org! :-)
Now I just need to figure out why!
Note that my "three line header" idea got shot to hell when I chopped the third line of and it still acquired the extra new line. It's showing up that way in the pickle, so it's either email's parseheaders (I'm thinking there might be some subtle error with a "too long" line and how it's interacting with "NL.join") or with the pickling process. Since the extra nl is in the pickle, everyone downstream in the pipeline just inhereits the problem.
(Why do I seem to always find the truly strange problems?)
On 5/17/02 10:29 PM, "Ron Jarrell" <jarrell@vt.edu> wrote:
(Why do I seem to always find the truly strange problems?)
Because anyone can find the easy ones?
-- Chuq Von Rospach, Architech chuqui@plaidworks.com -- http://www.chuqui.com/
IMHO: Jargon. Acronym for In My Humble Opinion. Used to flag as an opinion something that is clearly from context an opinion to everyone except the mentally dense. Opinions flagged by IMHO are actually rarely humble. IMHO. (source: third unabridged dictionary of chuqui-isms).
participants (3)
-
barry@zope.com -
Chuq Von Rospach -
Ron Jarrell