[Rspamd-Users] Antivirus problem

Thomas Plant thomas at plant.systems
Thu Apr 23 08:11:16 UTC 2020


Am 22.04.2020 um 11:30 schrieb Carsten Rosenberg:
> Hi
>
> Am 22.04.20 um 11:25 schrieb Thomas Plant via Users:
>> Here are missing lines from the rspamd log, it is from the same message
>> above, but from a retry later on:
>>
>> Please enable debug for the antivirus module. You have scan_text_mime
>> and scan_image_mime active. So you will have more than 1 scan per mail
>> w/ attachment.
>>
>> The second scan failed. So Rspamd seems to be correct here.
>>
>> --
>>
>> Carsten

Enabled debug for the module and got this:

2020-04-23 10:07:07 #31482(rspamd_proxy) <358a47>; clamav;
clamav.lua:106: clamav: error: IO timeout; retry IP:
/var/run/clamd.scan/clamd.sock; retries left: 1
2020-04-23 10:07:07 #31482(rspamd_proxy) <358a47>; clamav;
clamav.lua:106: clamav: error: IO timeout; retry IP:
/var/run/clamd.scan/clamd.sock; retries left: 1
2020-04-23 10:07:12 #31482(rspamd_proxy) <358a47>; clamav;
clamav.lua:106: clamav: error: IO timeout; retry IP:
/var/run/clamd.scan/clamd.sock; retries left: 0
2020-04-23 10:07:12 #31482(rspamd_proxy) <358a47>; clamav;
clamav.lua:106: clamav: error: IO timeout; retry IP:
/var/run/clamd.scan/clamd.sock; retries left: 0
2020-04-23 10:07:17 #31482(rspamd_proxy) <358a47>; lua; clamav.lua:119:
clamav: failed to scan, maximum retransmits exceed

Doubled the clamd 'MaxThreads' parameter but the above error still appears.
Can I increase the retries?

Thomas


More information about the Users mailing list