[Mimedefang] Interesting bug perhaps?
Kevin A. McGrail
KMcGrail at PCCC.com
Wed Jun 1 16:16:16 EDT 2011
OK, so I'm researching a bug for SpamAssassin:
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6607
First, I successfully I trapped the original email and redirected to
me. But I couldn't reduplicate the issue with SpamAssassin from the
email redirected to me.
So since I fire off spamc on my box through my integration with MD,
perhaps the issue was there.
I then trapped the original INPUTMSG midstream and took the following
snippet (which I've changed to remove the original recipient) to inject
the email manually into SMTP:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; l=26235;
d=list.sbmedianews.com;s=06182009;
h=from : list-unsubscribe;
bh=sthsd3nrldeb+/sELj4ARd6z7wrzdk07yoTNFoZAEVM=;
b=U9VFHpaJKoyAon6H0zrW0egy/xnAT6oFZzefO6iNjLz78Uvw5IBzpyxfT3BvY3oL0SO/LrM2
HYgHAk78iTCF0Q==;
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=06182009;
d=list.sbmedianews.com;
h=from:list-unsubscribe;
b=A1j9BLjTPziETs4w6nhPGREmokc0Z3+aqPR6NaiG6H4odpfjgsbdWLjklRUk5GANl1KHwfKa yWq9R2UPEnEKlQ==
From: "Benefits Broker Pro" <admin at list.sbmedianews.com
To: kmcgrail at pccc.com
Subject: No mandate left behind
Date: Wed, 01 Jun 2011 09:16:33 -0400
List-Unsubscribe:
<mailto:leave-3537688-80597205.8f1747395b0be70a8b0572052f53f7d9 at list.sbmedianews.com>
Message-ID:
<LYRIS-80597205-3537688-2011.06.01-09.16.39--kmcgrail#pccc.com at list.sbmedianews.com>
Test
Note that the From: header has an unmatched <> in the original format.
Clearly a bug in the configuration or code of the original sender. [I'm
cc'ing the original sender so they can fix their brokenness]
However, here's the source of the email after being received in my mailbox.
Return-Path:<kmcgrail at pccc.com>
Received: from pccc.com (localhost.localdomain [127.0.0.1])
by intel1.peregrinehw.com (8.13.8/8.13.8) with SMTP id p51JBQLg025880
for kmcgrail at pccc.com; Wed, 1 Jun 2011 15:11:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; l=26235;
d=list.sbmedianews.com;s=06182009;
h=from : list-unsubscribe;
bh=sthsd3nrldeb+/sELj4ARd6z7wrzdk07yoTNFoZAEVM=;
b=U9VFHpaJKoyAon6H0zrW0egy/xnAT6oFZzefO6iNjLz78Uvw5IBzpyxfT3BvY3oL0SO/LrM2
HYgHAk78iTCF0Q==;
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=06182009; d=list.sbmedianews.com;
h=from:list-unsubscribe;
b=A1j9BLjTPziETs4w6nhPGREmokc0Z3+aqPR6NaiG6H4odpfjgsbdWLjklRUk5GANl1KHwfKa yWq9R2UPEnEKlQ==
From: "Benefits Broker Pro"<admin at list.sbmedianews.com>
To: kmcgrail at pccc.com
Subject: No mandate left behind
Date: Wed, 01 Jun 2011 09:16:33 -0400
List-Unsubscribe:<mailto:leave-3537688-80597205.8f1747395b0be70a8b0572052f53f7d9 at list.sbmedianews.com>
Message-ID:<LYRIS-80597205-3537688-2011.06.01-09.16.39--kmcgrail#pccc.com at list.sbmedianews.com>
X-Authorized-User: 127.0.0.1
X-KAM-Reverse-AUTH: p51JBQLg025880: Exempt - 127.0.0.1 is an Authorized Sender
X-Scanned-By: MIMEDefang 2.63 on 38.124.232.10
Test
What's interesting is that my sendmail-based system appears to automatically fix this error with the From: header sometime between passing over the information to the Milter and doing the delivery to the mbox.
And the invalid header is a race condition that is in Mail::Address on purpose which is called from DKIM I believe by SA.
So my question is, is this a "bug" in MD not to fix the From: header in the way that sendmail does?
Regards,
KAM
--
*Kevin A. McGrail*
President
Peregrine Computer Consulting Corporation
3927 Old Lee Highway, Suite 102-C
Fairfax, VA 22030-2422
http://www.pccc.com/
703-359-9700 x50 / 800-823-8402 (Toll-Free)
703-359-8451 (fax)
KMcGrail at PCCC.com <mailto:kmcgrail at pccc.com>
More information about the MIMEDefang
mailing list