You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by John Rudd <jr...@ucsc.edu> on 2007/08/02 18:40:57 UTC

3.2.1 RDNS_NONE bug/false positive


The following received header gets RDNS_NONE:

Received: from [69.12.154.165] (HELO mail.rudd.cc)
   by some.internal.test.host (CommuniGate Pro SMTP 5.1.11)
   with ESMTP id 60056 for jrudd@some.internal.test.domain; Tue, 31 Jul 
2007 14:05:04 -0700



This is an error in the RDNS_NONE logic.  The host in question DOES have 
RDNS.  The issue is that CommuniGate Pro doesn't put the RDNS 
information into the Received header (and the place where it puts the 
HELO information might instead have the authenticated user, if SMTP-AUTH 
was used).


My recommendation is that the logic for RDNS_NONE should be:


if (Received =~ /\(CommuniGate Pro SMTP /) {
    if (DNS checks are enabled) {
       do the DNS check on the IP address, and then decide if it has RDNS
       }
    else {
       don't trigger RDNS_NONE (because you can't know without the DNS 
check)
       }
    }
else { # not a CommuniGate Pro MTA
    do existing RDNS_NONE logic
    }



Re: 3.2.1 RDNS_NONE bug/false positive

Posted by Matthew Yette <my...@mvnhealth.com>.
This bug exists on a qmail-1.03 install as well.
>>> On 8/2/2007 at 12:40 PM, in message <46...@ucsc.edu>, John Rudd <jr...@ucsc.edu> wrote:


The following received header gets RDNS_NONE:

Received: from [69.12.154.165] (HELO mail.rudd.cc)
   by some.internal.test.host (CommuniGate Pro SMTP 5.1.11)
   with ESMTP id 60056 for jrudd@some.internal.test.domain; Tue, 31 Jul 
2007 14:05:04 -0700



This is an error in the RDNS_NONE logic.  The host in question DOES have 
RDNS.  The issue is that CommuniGate Pro doesn't put the RDNS 
information into the Received header (and the place where it puts the 
HELO information might instead have the authenticated user, if SMTP-AUTH 
was used).


My recommendation is that the logic for RDNS_NONE should be:


if (Received =~ /\(CommuniGate Pro SMTP /) {
    if (DNS checks are enabled) {
       do the DNS check on the IP address, and then decide if it has RDNS
       }
    else {
       don't trigger RDNS_NONE (because you can't know without the DNS 
check)
       }
    }
else { # not a CommuniGate Pro MTA
    do existing RDNS_NONE logic
    }





<ยค#/srv/gw/mvndom/wptemp/43ccc243.qm8