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

           Summary: Patch to allow administrator control over failure to
                    retrieve userprefs from LDAP or SQL
           Product: Spamassassin
           Version: 3.3.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=4720)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4720)
Make SQL and LDAP userpref errors behave the same, add admin toggle to control
failure mode

In doing some testing for MySQL failover, I found that SQL userprefs hard-fail
(return the message unprocessed) if any SQL error occurs.

While digging into the code to see if I could make this soft-fail (continue
processing with global prefs), I also found that LDAP userprefs do pretty much
what I was looking for.

Patch attached to make both LDAP and SQL behave the same by default
(soft-fail), as well as adding an admin option to cause a hard-fail (Just In
Case someone really wants to do that).

The patch applies cleanly to trunk @ r927586 as well as 3.3.1.

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