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

             Bug #: 6728
           Summary: DNSBLs need a way to turn off queries based on BLOCKED
                    rules triggering
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Need a way to make spamd recognize that a BLOCKED rule such as URIBL_BLOCKED is
triggered and hold off on subsequent DNSBL queries for 1 hour.

The 1 hour part should be configurable.

Subsequent delays will need a multiplier that is configurable and will be set
at 1.1 for initial tests. 

This means:

Query returns answer indicating IP is blocked for DNS queries.
BLOCKED rule is triggered
SpamD recognizes the block and turns off queries for 1 hour for that RBL
1 hour elapses
Query returns answer indicating IP is blocked for DNS queries.
BLOCKED rule is triggered
SpamD recognizes the block and turns off queries for 1.1 hours for that RBL
...

We likely need something to define in a rules config such as:

block_disable   List of Rules separated by commas,semicolons or whitespace

block_disable  URIBL_BLACK,URIBL_GREY,URIBL_RED

Then if spamd picks up a BLOCKED rule and block_disable is defined, it can
disable those rules.

However, if we need an easier hack, we can modify the description of the rule
for BLOCKED to including something that is parse-able. such as adding
Temporarily Blocking Queries: URIBL_BLACK,URIBL_GREY,URIBL_RED to the
description.

This idea was split from bug 6724.

-- 
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