[exim-dev] [Bug 956] New: spamd fallback only for connect().…

Top Page
Delete this message
Reply to this message
Author: Arkadiusz Miskiewicz
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 956] spamd fallback only for connect(). Lack of fallback for other types of errors., [exim-dev] [Bug 956] spamd fallback only for connect(). Lack of fallback for other types of errors., [exim-dev] [Bug 956] spamd fallback only for connect(). Lack of fallback for other types of errors., [exim-dev] [Bug 956] spamd fallback only for connect(). Lack of fallback for other types of errors.
Subject: [exim-dev] [Bug 956] New: spamd fallback only for connect(). Lack of fallback for other types of errors.
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=956
           Summary: spamd fallback only for connect(). Lack of fallback for
                    other types of errors.
           Product: Exim
           Version: 4.71
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Content Scanning
        AssignedTo: tom@???
        ReportedBy: arekm@???
                CC: exim-dev@???



spamd can have specified multiple servers and it is able to do fallback between
these. This works almost well - it works only for connect().

If connect fails then it will fallback to next server.

Unfortunately other types of errors there are not handled so well for example:

    log_write(0, LOG_MAIN|LOG_PANIC,
         "spam acl condition: error reading from spamd socket: %s",
strerror(errno));
    (void)close(spamd_sock);
    return DEFER;



This makes fallback mechanism simply buggy since it works only for some types
of events.

Fix is to use fallback mechanism for all error conditions handled in spam.c


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email