Re: Kolab content filter long time till messages get delivered

Gelpi Andrea <[email protected]>
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <d4ce71a3-9219-6e13-e766-77c32725880b__48854.9540321857$1528801509$gmane$org@gelpi.it>
Il 12/06/2018 11:30, Benedikt Schäfer ha scritto:
> Hey,
> 
> if i enable in my postfix main.cf 'content_filter =
> smtp-amavis:[127.0.0.1]:10024' it takes over 5 minutes till messages get
> delivered to the mailbox.
> I am running Centos 7 and in maillog i get the following errors:
> 
> (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal:
> Exceeded allowed time at (eval 133) line 657.\n
> (31920-13) (!)WARN: all primary virus scanners failed, considering backups
> 
> amavis seems running:
> 
> ps aux | grep -i clam
> clamupd+  3370  0.0  0.0  74404  3228 ?        Ss   Jun09   0:16
> /usr/bin/freshclam -d -c 4
> amavis    4159  0.0  1.8 729732 550144 ?       Ssl  Jun10   0:58
> /usr/sbin/clamd -c /etc/clamd.d/amavisd.conf
> root     17604  0.0  0.0 112720   980 pts/0    S+   11:29   0:00 grep
> --color=auto -i clam
> 
> Any help?
> 
> 
> best regards,
> 
> Benedikt

In amavis.conf put loglevel at 2 to see what amasvis is doing.

In my experience, clamav slow down if the system is short in CPU and memory.

Best regards,

-- 
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.