[exim-dev] [Bug 711] New: If spamd times out: Mail is accept…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: 711
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 711] New: If spamd times out: Mail is accepted but " 417 Temporary delivery error" is sent
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=711
           Summary: If spamd times out: Mail is accepted but "417 Temporary
                    delivery error" is sent
           Product: Exim
           Version: 4.68
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: high
         Component: Mail Receipt
        AssignedTo: nigel@???
        ReportedBy: tropfstein@???
                CC: exim-dev@???



I scan my incoming mails with the ACL directive "spam" and I've set "defer_ok"
It seems to me, that this is not working in any circumstances. Here
are 3 examples:

1) I set spamd_address to an inexistent device
The log says
spam acl condition: warning - spamd connection to 127.0.0.5, port 783
failed: Connection refused
spam acl condition: all spamd servers failed
[...]
Completed

The mail is accepted and all is good

2) I drop the tcp connection with my firewall
The log sasy
spam acl condition: warning - spamd connection to 127.0.0.1, port 783
failed: Connection timed out
spam acl condition: all spamd servers failed
[...]
Completed

The mail is accepted and all is good again

3) My log shows some entries like
spam acl condition: error reading from spamd socket: Connection timed out
[...]
Completed

I was not able to reproduce this error but I think that there are not
enough child processes of spamd available.
According to the sending mailserver, this is what happened:

> > ErrCode = -162
> ErrString = End of socket stream data
> SMAIL SMTP-Send MX = "domain1.tld." SMTP = "domain2.tld" From = "user@???
> " To = "user@???" Failed !
> SMTP-Error = "417 Temporary delivery error"
> SMTP-Server = "domain1.tld."


To my understanding, this mail should have been accepted as in the two
examples before - without sending out a temporary error.
This bug caused multiple copies of the same message and may is related to
http://bugs.exim.org/show_bug.cgi?id=404


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