You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/12/04 17:21:42 UTC
[Bug 6245] New: RDNS_NONE triggers on root@localhost
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6245
Summary: RDNS_NONE triggers on root@localhost
Product: Spamassassin
Version: 3.2.5
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Rules
AssignedTo: dev@spamassassin.apache.org
ReportedBy: sa-bugz@sawcrest.com
The Rule RDNS_NONE is triggering on 100% of my ham that I email to a friend at
user@otherdomain.com. I have included an example header below
I have replaced my domain with "mydomain.com" and my ip address with
"999.999.999.999"
==============================
Return-Path: <ro...@mydomain.com>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on fuse100
X-Spam-Level:
X-Spam-Status: No, score=-0.1 required=8.5 tests=RDNS_NONE,SPF_PASS
autolearn=no version=3.2.5
Received: from [999.999.999.999] (HELO mydomain.com)
by smtp-gw138.mailanyone.net with esmtp (MailAnyone incSMTP Exim)
id f138m939701uh17Yipk65; Fri, 04 Dec 2009 09:15:01 -0600
Received: from mydomain.com (localhost.localdomain [127.0.0.1])
by mydomain.com (8.13.8/8.13.8) with ESMTP id nB4FE1N2013973
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <us...@otherdomain.com>; Fri, 4 Dec 2009 08:14:02 -0700
Received: (from root@localhost)
by mydomain.com (8.13.8/8.13.8/Submit) id nB4FE1P0013958
for user@otherdomain.com; Fri, 4 Dec 2009 08:14:01 -0700
Date: Fri, 4 Dec 2009 08:14:01 -0700
From: root <ro...@mydomain.com>
Message-Id: <20...@mydomain.com>
To: user@otherdomain.com
Subject: Test Message
This is a short message.
==============================
I'm not positive but I think the difficulty is with this line:
Received: (from root@localhost)
I have a fairly standard sendmail configuration. I have a feeling that
SpamAssassin would prefer to see the above line changed to look something like
this:
Received: from root@localhost (localhost.localdomain [127.0.0.1])
If there is a way to change this in the sendmail configuration I would like to
learn.
Thanks,
Ed
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6245] RDNS_NONE triggers on root@localhost
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6245
Ed Davis <sa...@sawcrest.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sa-bugz@sawcrest.com
Resolution| |WORKSFORME
--- Comment #1 from Ed Davis <sa...@sawcrest.com> 2009-12-04 09:14:05 UTC ---
Close this bug. It seems the problem is not with my sendmail sever but with
server at user@otherdomain.com. It looks like that other email provider is
munging the headers on all of their incomming email before they run
SpamAssassin. The rule RDNS_NONE must be hitting on 100% of their incomming
email.
Here is the result when I send a test email to check-auth@verifier.port25.com.
As you can see the problem is gone.
SpamAssassin v3.2.5 (2008-06-10)
Result: ham (-2.6 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
-2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
[score: 0.0000]
Return-Path: <ro...@mydomain.com>
Received: from mydomain.com (x.x.x.x) by verifier.port25.com (PowerMTA(TM)
v3.6a1) id h34hl20hse8r for <ch...@verifier.port25.com>; Fri, 4 Dec 2009
09:57:21 -0500 (envelope-from <ro...@mydomain.com>)
Authentication-Results: verifier.port25.com smtp.mail=root@mydomain.com;
mfrom=pass;
Authentication-Results: verifier.port25.com header.From=root@mydomain.com;
domainkeys=neutral (message not signed);
Authentication-Results: verifier.port25.com; dkim=neutral (message not signed);
Authentication-Results: verifier.port25.com header.From=root@mydomain.com;
pra=pass;
Received: from mydomain.com (localhost.localdomain [127.0.0.1])
by mydomain.com (8.13.8/8.13.8) with ESMTP id nB4GtW5t007642
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <ch...@verifier.port25.com>; Fri, 4 Dec 2009 09:55:32 -0700
Received: (from root@localhost)
by mydomain.com (8.13.8/8.13.8/Submit) id nB4GtWqv007633
for check-auth@verifier.port25.com; Fri, 4 Dec 2009 09:55:32 -0700
Date: Fri, 4 Dec 2009 09:55:32 -0700
From: root <ro...@mydomain.com>
Message-Id: <20...@mydomain.com>
To: check-auth@verifier.port25.com
Subject: Test Message
This is a short message.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6245] RDNS_NONE triggers on root@localhost
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6245
--- Comment #3 from Mark Martinec <Ma...@ijs.si> 2009-12-10 09:01:30 UTC ---
> I'll add the provided test case to t/rcvd_parser.t eventually, just in case.
> Changing 'worksforme' into an 'invalid' (in lack of a 'not-a-bug').
Bug 6245: added one test case to t/rcvd_parser.t
Sending t/rcvd_parser.t
Committed revision 889337.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6245] RDNS_NONE triggers on root@localhost
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6245
Mark Martinec <Ma...@ijs.si> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |INVALID
--- Comment #2 from Mark Martinec <Ma...@ijs.si> 2009-12-04 10:10:52 UTC ---
(In reply to comment #1)
> Close this bug. It seems the problem is not with my sendmail sever but with
> server at user@otherdomain.com. It looks like that other email provider is
> munging the headers on all of their incomming email before they run
> SpamAssassin. The rule RDNS_NONE must be hitting on 100% of their incomming
> email.
There is indeed no reverse DNS data in the Received header field you provided:
Received: from [999.999.999.999] (HELO mydomain.com)
by smtp-gw138.mailanyone.net with esmtp (MailAnyone incSMTP Exim)
id f138m939701uh17Yipk65; Fri, 04 Dec 2009 09:15:01 -0600
so hitting the RDNS_NONE is correct. Looks like their "MailAnyone incSMTP Exim"
mailer is not inserting the rdns data into its Received header field.
I'll add the provided test case to t/rcvd_parser.t eventually, just in case.
Changing 'worksforme' into an 'invalid' (in lack of a 'not-a-bug').
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.