https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6544

           Summary: Extend whitelist_from_rcvd with matching on an IP
                    address
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=4846)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4846)
Suggested change

I needed to whitelist some unfortunate sender from China, whose MTA
does not have a reverse DNS name, nor does it use DKIM nor SPF. So the
off-the-shelf whitelist_from_rcvd cannot be used, as it requires rDNS.

The attached patch extends the syntax of the whitelist_from_rcvd command,
along with the accompanying documentation and the added functionality
in Plugin/WLBLEval.pm. As this feature should only be needed on
rare occasion, I didn't bother with CIDR and IPv6 - this can be added
later if there is enough interest.

Basically, this now allows:
  whitelist_from_rcvd [email protected]  example.com
  whitelist_from_rcvd *@axkit.org      sergeant.org
  whitelist_from_rcvd *@axkit.org      [192.0.2.123]
  whitelist_from_rcvd *@axkit.org      [192.0.2]

See the attached docs for details.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to