https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7688

            Bug ID: 7688
           Summary: __RDNS_NONE  not always matches correctly
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 5640
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5640&action=edit
Simpel fix for __RDNS_NONE

On my server a missing rDNS is indicated with:
[ ip=0.0.0.0 rdns=!0.0.0.0! helo=....

In 20_dynrdns.cf it is assumed that rdns is empty for __RDNS_NONE.
Which is apparently not always the case.

I think this regex is suitable: /^[^\]]+ rdns=(\![0-9a-f.:]+\!)? /

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to