The reload bug has been known for years, even has a ready patch.
https://bugzilla.clamav.net/show_bug.cgi?id=10979 But nothing you can do about it, ClamAV devs have a mind of their own. Atleast servers in your scenario will (hopefully) retry sending. On Sat, Aug 31, 2019 at 04:25:05PM +0200, Thomas Barth via clamav-users wrote: > Hallo Mailinglist, > > sometimes I get in Postfix the error messages "451 4.3.0 Error: queue file > write error". There is a warning timeout talking to localhost:10024 (Amavis) > > > Aug 31 14:14:19 mx2 postfix/smtpd[15861]: connect from > unknown[177.37.96.254] > Aug 31 14:14:20 mx2 postfix/smtpd[15861]: NOQUEUE: > client=unknown[177.37.96.254] > Aug 31 14:16:02 mx2 postfix/smtpd[15861]: warning: timeout talking to proxy > localhost:10024 > Aug 31 14:16:02 mx2 postfix/smtpd[15861]: proxy-reject: END-OF-MESSAGE: 451 > 4.3.0 Error: queue file write error; from=<billythomp...@lookandwellness.it> > to=<y...@domain.de> proto=ESMTP helo=<lookandwellness.it> > Aug 31 14:16:02 mx2 postfix/smtpd[15861]: disconnect from > unknown[177.37.96.254] ehlo=1 mail=1 rcpt=1 data=0/1 commands=3/4 > > (Not hiding the from address, it s used by a spammer :)) > > Normally postfix gets a response after 3 secondes. > > In the clamav.log I see at the same time, that reloading the database takes > up to two minutes. > > /var/log/clamav/clamav.log > Sat Aug 31 14:14:15 2019 -> Database correctly reloaded (10971844 > signatures) > Sat Aug 31 14:14:15 2019 -> Reading databases from /var/lib/clamav > Sat Aug 31 14:14:15 2019 -> > /var/lib/amavis/tmp/amavis-20190831T125532-12347-lWbaS7Ci/parts/p001: > Sanesecurity.Scam.12584.UNOFFICIAL(00000000000000000000000000000000:6617) > FOUND > Sat Aug 31 14:16:13 2019 -> Database correctly reloaded (10971844 > signatures) > Sat Aug 31 14:16:13 2019 -> > /var/lib/amavis/tmp/amavis-20190831T120830-10930-zSEWR54L/parts/p001: > Sanesecurity.Scam.12559.UNOFFICIAL(00000000000000000000000000000000:6449) > FOUND > > Is reloading a database blocking the e-Mail scanning? So how can I boost > this process? It's a virtual server with 100% ssd and 6 cores (Intel(R) > Xeon(R) CPU E5-2630 v4 @ 2.20GHz) and Debian Buster. > > > Best regards, > Thomas Barth > > _______________________________________________ > > clamav-users mailing list > clamav-users@lists.clamav.net > https://lists.clamav.net/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml