[Rspamd-Users] Trouble with sockets to ClamAV and Spamd
usenet at schani.com
usenet at schani.com
Wed Nov 15 18:11:02 UTC 2023
Hello,
I just have the problem that my Rspamd 3.7.4 on debian 12 does not
create socket connections.
I use ClamAV and at local.d/antivirus.conf:
ClamAV {
symbol = "CLAM_VIRUS";
type = "clamav";
action = "rewrite subject";
servers = "/var/run/clamav/clamd.ctl";
max_size = 200000000;
scan_mime_parts = false;
log_clean = true;
timeout = 10;
retransmits = 2;
}
The error message I get in rspamd.log is:
2023-11-15 18:22:10 #7289(rspamd_proxy) <dc0ec5>; lua; clamav.lua:117:
ClamAV: failed to scan, maximum retransmits exceed
The file sizes in clamav.conf are 25MB and to test I send a 2MB PDF.
Even in Spamd, i.e. Spamassassin, I get the error message:
SPAMD_FAIL (0) [failed to scan and retransmits exceed: Socket error
detected: connection establishment refused]
Is there something fundamentally wrong with my setup?
What could be the reason?
Thank you very much for help
Christian
More information about the Users
mailing list