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

           Summary: spamc does not retry if a spamd connection times out
           Product: Spamassassin
           Version: 3.2.4
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When spamc opens a connection with spamd, it sets a timeout value that limits
the time it will wait for a valid response from spamd.  However, if it has
contacted a spamd child that has hung or stalled for some reason, this results
in (by defaults) a message that waits 600 seconds, then returns unprocessed.  

The following patch sets two new options on the command line: 
--filter-retries
and
--fitler-retry-sleep

These specify that if a connection to spamd times out, send it to spamd again,
up to 'filter-retries' times, after sleeping for 'filter-retry-sleep' seconds.

If the --randomize flag is also set, it will re-randomize the host list before
resending the message to spamd.  This will hopefully add some resiliancy when a
spamd server misbehaves.  It may also be beneficial for single spamd setups,
since it would allow for some problematic spamd children as long as some
well-behaved children are still available.


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