[Rspamd-Users] "soft reject" and "clamav: failed to scan, maximum retransmits exceed"

Andreas rspamd at linuxmaker.com
Tue Mar 5 09:49:39 UTC 2024


Hello,

Postfix with Dovecot, Rspamd and ClamAV is installed on a Debian 12. On the one 
hand, I see the following in the log file and in the Rspamd webgui:

tail -f /var/log/rspamd/rspamd.log 
2024-03-05 10:26:41 #46897(rspamd_proxy) <5d7d22>; lua; clamav.lua:117: 
clamav: failed to scan, maximum retransmits exceed 
2024-03-05 10:26:41 #46897(rspamd_proxy) rspamd_log_reset_repeated: Last 
message repeated 58 times 
2024-03-05 10:26:41 #46897(rspamd_proxy) <f77b91>; oletools; common.lua:414: 
oletools: extension matched: |docx|nil| 
2024-03-05 10:26:41 #46897(rspamd_proxy) <f77b91>; oletools; oletools.lua:111: 
oletools: error: Socket error detected: Verbindungsaufbau abgelehnt; retry IP: 
127.0.0.1; retries left: 1 
2024-03-05 10:26:41 #46897(rspamd_proxy) <f77b91>; oletools; oletools.lua:111: 
oletools: error: Socket error detected: Verbindungsaufbau abgelehnt; retry IP: 
127.0.0.1; retries left: 0 
2024-03-05 10:26:41 #46897(rspamd_proxy) <f77b91>; lua; oletools.lua:125: 
oletools: failed to scan, maximum retransmits exceed - err: Socket error 
detected: Verbindungsaufbau abgelehnt 
2024-03-05 10:26:45 #46897(rspamd_proxy) <99ae35>; lua; clamav.lua:117: 
clamav: failed to scan, maximum retransmits exceed 
2024-03-05 10:26:45 #46897(rspamd_proxy) <99ae35>; lua; clamav.lua:117: 
clamav: failed to scan, maximum retransmits exceed 
2024-03-05 10:26:45 #46897(rspamd_proxy) <99ae35>; lua; clamav.lua:117: 
clamav: failed to scan, maximum retransmits exceed 
2024-03-05 10:26:45 #46897(rspamd_proxy) <99ae35>; lua; clamav.lua:117: 
clamav: failed to scan, maximum retransmits exceed

On the other hand, the action "soft reject" is applied to normal emails, where 
I would actually expect "no action".
Where can I configure the "soft reject" and how do I get the "clamav: failed to 
scan, maximum retransmits exceed" controlled? For the latter, I set timeout=20 
in /etc/rspamd/local.d/antivirus.conf.

Best regards

Andreas




More information about the Users mailing list