Topic: Problem receive/send
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
Hi I'm on centos, latest iredmail.
I have trouble to send and receive mail, I have serious error in maillog involving amavis and clamav:
Sep 27 22:14:43 posta postfix/smtpd[8193]: disconnect from unknown[62.129.232.247]
Sep 27 22:14:44 posta amavis[8053]: (08053-04) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)
Sep 27 22:14:45 posta amavis[8052]: (08052-05) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)
Sep 27 22:14:50 posta amavis[8053]: (08053-04) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 104) line 373.\n
Sep 27 22:14:50 posta amavis[8053]: (08053-04) (!!)WARN: all primary virus scanners failed, considering backups
Sep 27 22:14:50 posta amavis[8053]: (08053-04) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options"
Sep 27 22:14:50 posta amavis[8053]: (08053-04) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 104) line 594.
Sep 27 22:14:50 posta amavis[8053]: (08053-04) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 27 22:14:50 posta amavis[8053]: (08053-04) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20130927T221443-08053
Sep 27 22:14:50 posta postfix/smtp[8152]: 096681F6800C: to=<xxx@xxx.it>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.2, delays=0.05/0/0/7.2, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08053-04, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
Sep 27 22:14:51 posta amavis[8052]: (08052-05) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 104) line 373.\n
Sep 27 22:14:51 posta amavis[8052]: (08052-05) (!!)WARN: all primary virus scanners failed, considering backups
Sep 27 22:14:51 posta amavis[8052]: (08052-05) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options"
Sep 27 22:14:51 posta amavis[8052]: (08052-05) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 104) line 594.
Sep 27 22:14:51 posta amavis[8052]: (08052-05) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 27 22:14:51 posta amavis[8052]: (08052-05) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20130927T221443-08052
Sep 27 22:14:51 posta postfix/smtp[8064]: D2CC21F6800D: to=<xxx@xxx.it>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.3, delays=0.17/0/0/7.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08052-05, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
How can I solve this?
The machine is working well about 2 years from now...
If I try to manually start clamd:
[root@posta ~]# service clamd restart
Stopping Clam AntiVirus Daemon: [FALLITO]
Starting Clam AntiVirus Daemon: ERROR: Can't open /var/log/clamav/clamd.log in append mode (check permissions!).
ERROR: Can't initialize the internal logger
[FALLITO]
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.