Thomas Hager
2017-01-24 20:26:32 UTC
Hi list,
I updated Exim on my jessie box to 4.88-4~bpo8+1 a few days ago and
discovered about now that the update broke spam scanning with rspamd.
From the logs:
2017-01-22 08:59:55 1cVD46-0004AB-QI spam acl condition: spamd: failed
to connect to any address for 127.0.0.1: Broken pipe
2017-01-22 08:59:55 1cVD46-0004AB-QI spam acl condition: all spamd
servers failed
The relevant configuration:
spamd_address      = 127.0.0.1 11333 variant=rspamd
rspamd is up and running, but isn't registering any connection attempt
by Exim. Running Exim with debugging didn't show more than the logged
broken pipes from above.
After downgrading to 4.87-3~bpo8+1 spam scanning works as expected
again. So I traced both versions, which showed a difference in
connecting to rspamd:
4.87:
[...]
26092 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
26092 alarm(5)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = 0
26092 connect(6, {sa_family=AF_INET, sin_port=htons(11333),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
26092 alarm(0)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = 5
26092 close(-1)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = -1 EBADF (Bad file
descriptor)
26092 fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
26092 sendto(6, "CHECK RSPAMC/1.3\r\nContent-length"..., 210, 0, NULL,
0) = 210
[...]
4.88:
[...]
25605 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
25605 alarm(5)
25605 sendto(6, NULL, 0, MSG_FASTOPEN, {sa_family=AF_INET,
sin_port=htons(11333), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EPIPE
(Broken pipe)
[...]
Before I take this to the upstream list I'd like to verify if this is
an issue with the 4.88 bpo package on jessie.
Tia,
Tom.
I updated Exim on my jessie box to 4.88-4~bpo8+1 a few days ago and
discovered about now that the update broke spam scanning with rspamd.
From the logs:
2017-01-22 08:59:55 1cVD46-0004AB-QI spam acl condition: spamd: failed
to connect to any address for 127.0.0.1: Broken pipe
2017-01-22 08:59:55 1cVD46-0004AB-QI spam acl condition: all spamd
servers failed
The relevant configuration:
spamd_address      = 127.0.0.1 11333 variant=rspamd
rspamd is up and running, but isn't registering any connection attempt
by Exim. Running Exim with debugging didn't show more than the logged
broken pipes from above.
After downgrading to 4.87-3~bpo8+1 spam scanning works as expected
again. So I traced both versions, which showed a difference in
connecting to rspamd:
4.87:
[...]
26092 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
26092 alarm(5)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = 0
26092 connect(6, {sa_family=AF_INET, sin_port=htons(11333),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
26092 alarm(0)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = 5
26092 close(-1)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = -1 EBADF (Bad file
descriptor)
26092 fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
26092 sendto(6, "CHECK RSPAMC/1.3\r\nContent-length"..., 210, 0, NULL,
0) = 210
[...]
4.88:
[...]
25605 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
25605 alarm(5)
25605 sendto(6, NULL, 0, MSG_FASTOPEN, {sa_family=AF_INET,
sin_port=htons(11333), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EPIPE
(Broken pipe)
[...]
Before I take this to the upstream list I'd like to verify if this is
an issue with the 4.88 bpo package on jessie.
Tia,
Tom.
--
Thomas "Duke" Hager ***@sigsegv.at
GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
Thomas "Duke" Hager ***@sigsegv.at
GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."