Package: spamd
Version: 4.0.0-4
Severity: important

After upgrading to bookworm, I'm getting timeouts from spamd.  This is
solved by:

    sudo systemctl restart spamd.service

I have to do this after each reboot.

getmail tells me that procmail (which calls "spamc") time outs:

Delivery error...  child operation error: waiting child pid 24988 timed out)

The log show:

2023-04-13T17:05:45.739957+08:00 jirafa spamd[2629]: check: (run_eval) exceeded 
time limit, skipping further tests
2023-04-13T17:05:45.742269+08:00 jirafa spamd[2629]: async: aborting after 
298.682 s, past original deadline: URIBL, 
A/braze.eu.dob.sibl.support-intelligence.net, rules: URIBL_RHS_DOB
2023-04-13T17:05:45.742424+08:00 jirafa spamd[2629]: async: aborting after 
298.669 s, past original deadline: URIBL, 
A/www.ajwernick.co.uk.multi.surbl.org, rules: URIBL_MW_SURBL, URIBL_CR_SURBL, 
URIBL_WS_SURBL, URIBL_PH_SURBL, SURBL_BLOCKED, URIBL_ABUSE_SURBL
...
2023-04-13T17:05:46.076924+08:00 jirafa spamd[2629]: dns: sendto() to 
[127.0.0.1]:53 failed: Connection refused, failing over to [::1]:53
2023-04-13T17:05:46.077523+08:00 jirafa spamd[2629]: dns: sendto() to [::1]:53 
failed: Connection refused, failing over to [127.0.0.1]:53
2023-04-13T17:05:46.077901+08:00 jirafa spamd[2629]: dns: bad dns reply: 
bgread: recv() failed: Connection refused at 
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 752, <GEN55> line 116.
2023-04-13T17:05:46.079571+08:00 jirafa spamd[2629]: dns: bad dns reply: 
bgread: recv() failed: Connection refused at 
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 752, <GEN55> line 116.
2023-04-13T17:05:49.092655+08:00 jirafa spamd[2629]: dns: bad dns reply: 
bgread: recv() failed: Connection refused at 
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 752, <GEN55> line 116.

A Google search has led to:
https://bugzilla.redhat.com/show_bug.cgi?id=1985587
The proposed patch seems relevant to Debian's spamd service file too:
https://src.fedoraproject.org/rpms/spamassassin/pull-request/12#request_diff

(I haven't tested it, though.)

-- 
Martin Michlmayr
https://www.cyrius.com/

Reply via email to