Subject: | Very long "From" headers wrapped erroneously |
Email::Simple is wrapping long "From" headers, causing the resulting mailbox to be malformed.
earle@mythix:~/Mail$ head -4 long_from
From subgenius-return-28831-earle=mythix.realprogrammers.com@armchair.mb.ca Mon Jun 14 12: 05:17 2004
Received: from 206-45-126-224.static.mts.net ([206.45.126.224]
helo=onramp.armchair.mb.ca) by mythix.realprogrammers.com with smtp (Exim
4.32 #1 (Debian)) id 1BZpHA-0007jh-4y for earle@mythix.realprogrammers.com;
earle@mythix:~/Mail$ perl -MEmail::Simple -e 'my $m = Email::Simple->new(do {local $/; <>}); print $m->as_string' long_from
From subgenius-return-28831-earle=mythix.realprogrammers.com@armchair.mb.ca
Mon Jun 14 12: 05:17 2004
Received: from 206-45-126-224.static.mts.net ([206.45.126.224]
helo=onramp.armchair.mb.ca) by mythix.realprogrammers.com with smtp (Exim
4.32 #1 (Debian)) id 1BZpHA-0007jh-4y for earle@mythix.realprogrammers.com;
Mon, 14 Jun 2004 12:05:17 +0100
[snip]