1

Topic: Mail.log problems with ClamAV & sendmail.

==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.6.0
- Linux/BSD distribution name and version: Debian 5.0 Lenny
- Any related log? Log is helpful for troubleshooting.

Aug 25 17:03:56 sepserver roundcube: [25-Aug-2011 17:03:56 +0000]: Successful login for www@sepserver.net (id 1) from 76.172.212.70
Aug 25 17:04:18 sepserver postfix/smtpd[15471]: connect from localhost[127.0.0.1]
Aug 25 17:04:18 sepserver postfix/trivial-rewrite[15473]: warning: do not list domain sepserver.net in BOTH mydestination and virtual_mailbox_domains
Aug 25 17:04:18 sepserver postfix/smtpd[15471]: 3C30912CC09: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=www@sepserver.net
Aug 25 17:04:18 sepserver postfix/cleanup[15474]: 3C30912CC09: message-id=<1c96f17ab9420bed90251450c6d6b47f@127.0.0.1>
Aug 25 17:04:18 sepserver roundcube: [25-Aug-2011 17:04:18 +0000]: User www@sepserver.net [76.172.212.70]; Message for <sepich.eric@yahoo.com>; 250: 2.0.0 Ok: queued a$
Aug 25 17:04:18 sepserver postfix/qmgr[13824]: 3C30912CC09: from=<www@sepserver.net>, size=513, nrcpt=1 (queue active)
Aug 25 17:04:18 sepserver postfix/smtpd[15471]: disconnect from localhost[127.0.0.1]
Aug 25 17:04:19 sepserver amavis[14481]: (14481-04) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: 2, retrying (2)
Aug 25 17:04:25 sepserver amavis[14481]: (14481-04) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to U$
Aug 25 17:04:25 sepserver amavis[14481]: (14481-04) (!!)WARN: all primary virus scanners failed, considering backups
Aug 25 17:04:25 sepserver amavis[14481]: (14481-04) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 50, output="LibClamAV Warning: ******************************$
Aug 25 17:04:25 sepserver amavis[14481]: (14481-04) (!!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Warning: ***********$
Aug 25 17:04:25 sepserver amavis[14481]: (14481-04) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED$
Aug 25 17:04:25 sepserver amavis[14481]: (14481-04) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20110825T170418-14481
Aug 25 17:04:25 sepserver postfix/smtp[15479]: 3C30912CC09: to=<sepich.eric@yahoo.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.5, delays=0.07/0.01/0.12/7.3, dsn=4.5$
====

I am not able to send mail to sepich.eric@yahoo.com. My log is posted above. Is the ClamAV preventing me from sending mail. Is it that my SPF has not taken effect yet?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Mail.log problems with ClamAV & sendmail.

This issue is caused by ClamAV, because it's not running at all:

Aug 25 17:04:19 sepserver amavis[14481]: (14481-04) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: 2, retrying (2)

Below commands should fix this issue:

# freshclam
# /etc/init.d/clamav-freshclam restart
# /etc/init.d/clamav-daemon restart

Your another issue is mentioned in log, read it and you will clearly know what it means:

sepoto wrote:

Aug 25 17:04:18 sepserver postfix/trivial-rewrite[15473]: warning: do not list domain sepserver.net in BOTH mydestination and virtual_mailbox_domains