I've been having problems with antivirus on my server. The admin console claims it's not on and mails are not being delivered and are in "deferred" status.
I'm seeing these lines in the syslog about them:
Even though clamd is running:
amavis: (26200-01) (!!)ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:33
10: Connection refused) at (eval 45) line 269.
Amavis is also running:
zimbra@server:/home/admin$ zmcontrol status
zmclamdctl is not running
zimbra@server:/home/admin$ ps ax | grep clamd
7998 ? Rs 0:38 /opt/zimbra/clamav/sbin/clamd --config-file /opt/zimbra/conf/clamd.conf
12029 pts/0 R+ 0:00 grep clamd
zimbra@server:/home/admin$ zmclamdctl status
cat: /opt/zimbra/log/clamd.pid: No such file or directory
I've reinstalled Zimbra (downloaded the lastest one: 4.5.6_1044) (Which I was already using).
ps ax | grep amavis
4403 ? Ss 0:01 amavisd (master)
4459 ? S 0:00 amavisd (ch1-avail)
4460 ? S 0:00 amavisd (ch1-avail)
4461 ? S 0:00 amavisd (ch1-avail)
4462 ? S 0:00 amavisd (virgin child)
4463 ? S 0:00 amavisd (virgin child)
4521 ? S 0:00 amavisd (virgin child)
4522 ? S 0:00 amavisd (virgin child)
4523 ? S 0:00 amavisd (virgin child)
4667 ? S 0:00 amavisd (virgin child)
4668 ? S 0:00 amavisd (virgin child)
13595 ? S 0:00 smtp -n smtp-amavis -t unix -u -o smtp_data_done_timeout 1200 -o smtp_send_xforward_command yes -o disable_dns_lookups yes -o max_use 20
13727 pts/1 S+ 0:00 grep amavis
Sometimes I do zmcontrol shutdown and zmcontrol startup a few times in a row and it may or may not start up.
I've rm'd the clamav db directories (after which, when this did not help, I did the upgrade of Zimbra again.) and altered the interval setting referenced elsewhere here on the forums. I have no idea what to try next.