[EMAIL PROTECTED] wrote:
Hi,
here is header lines from a mail that a qmail server received from
autehnticated user:
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on SuSE-101-64-minimal
X-Spam-Level: ****
X-Spam-Status: No, score=4.3 required=5.0 tests=NO_REAL_NAME,RCVD_IN_NJABL_DUL,
RCVD_IN_SORBS_DUL autolearn=no version=3.1.8
Received: from p5498acaa.dip0.t-ipconnect.de (HELO xxxxxxx) ([EMAIL PROTECTED])
by xxxxxx with ESMPTA; 23 May 2007 15:05:04 -0000
Note that default qmail does not report any auth status; the only qmail patch I
know about uses ESMPTA for auth'd messages and SMTP otherwise.
Somebody broke qmail auth support in 3.2.0 via r447014 back in
September. Apparently there's no test case for qmail and its semi-colon.
Attached is a trivial patch to fix it for you.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5481
Daryl
Index: lib/Mail/SpamAssassin/Message/Metadata/Received.pm
===================================================================
--- lib/Mail/SpamAssassin/Message/Metadata/Received.pm (revision 541194)
+++ lib/Mail/SpamAssassin/Message/Metadata/Received.pm (working copy)
@@ -367,7 +367,7 @@
# with ESMTPA, ESMTPSA, LMTPA, LMTPSA should cover RFC 3848 compliant MTAs
# with ASMTP (Authenticated SMTP) is used by Earthlink, Exim 4.34, and others
# with HTTP should only be authenticated webmail sessions
- if (/ by / && / with (ESMTPA|ESMTPSA|LMTPA|LMTPSA|ASMTP|HTTP)(?: |$)/i) {
+ if (/ by / && / with (ESMTPA|ESMTPSA|LMTPA|LMTPSA|ASMTP|HTTP);?(?: |$)/i) {
$auth = $1;
}
# Courier v0.47 and possibly others