主题: 发信时的amavis错误日志

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP):
- 使用的 Linux/BSD 发行版名称及版本号:ubuntu16.04
- 与您的问题相关的日志信息:
====
系统是全新安装。
1、有一个roundcube的error日志,是关于地址自动补全的?
2、发邮件会有amavis的错误日志,提示找不到clamav。这是啥意思。ClamAV和Amavisd-new都已经重启过了。但是我在/var/log/clamav/freshclam.log下面发现有大量的timeout的更新日志。

Mar 28 09:46:22 mail roundcube: <2jfo22r2> PHP Error: LDAP: ldap_list failed for dn=domainName=abc.com,o=domains,dc=innotrack,dc=cn. Bad search filter (POST /mail/?_task=mail&_action=autocomplete)
Mar 28 09:46:30 mail postfix/submission/smtpd[2949]: connect from mail.abc.com[127.0.0.1]
Mar 28 09:46:30 mail postfix/submission/smtpd[2949]: Anonymous TLS connection established from mail.abc.com[127.0.0.1]: TLSv1.2with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Mar 28 09:46:30 mail postfix/submission/smtpd[2949]: A7C8F1C11D0: client=mail.abc.com[127.0.0.1], sasl_method=LOGIN, sasl_username=postmaster@abc.com
Mar 28 09:46:30 mail postfix/cleanup[2952]: A7C8F1C11D0: message-id=<8daf13e19c88ad101f5056692349698f@abc.com>
Mar 28 09:46:30 mail postfix/qmgr[1754]: A7C8F1C11D0: from=<postmaster@abc.com>, size=1115, nrcpt=1 (queue active)
Mar 28 09:46:30 mail roundcube: <2jfo22r2> User postmaster@abc.com [123.116.139.90]; Message for 123456@qq.com; 250: 2.0.0 Ok:queued as A7C8F1C11D0
Mar 28 09:46:30 mail postfix/submission/smtpd[2949]: disconnect from mail.abc.com[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Mar 28 09:46:30 mail amavis[2928]: (02928-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Mar 28 09:46:31 mail amavis[2928]: (02928-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Mar 28 09:46:31 mail amavis[2928]: (02928-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Mar 28 09:46:37 mail amavis[2928]: (02928-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
Mar 28 09:46:37 mail amavis[2928]: (02928-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 104) line 613.\n
Mar 28 09:46:37 mail amavis[2928]: (02928-01) (!)WARN: all primary virus scanners failed, considering backups
Mar 28 09:46:48 mail postfix/10025/smtpd[2967]: connect from mail.abc.com[127.0.0.1]
Mar 28 09:46:48 mail postfix/10025/smtpd[2967]: 2A77B1C11E3: client=mail.abc.com[127.0.0.1]
Mar 28 09:46:48 mail postfix/cleanup[2952]: 2A77B1C11E3: message-id=<8daf13e19c88ad101f5056692349698f@abc.com>
Mar 28 09:46:48 mail postfix/10025/smtpd[2967]: disconnect from mail.abc.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 28 09:46:48 mail amavis[2928]: (02928-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:38060 <postmaster@abc.com> -> <123456@qq.com>, Queue-ID: A7C8F1C11D0, Message-ID: <8daf13e19c88ad101f5056692349698f@abc.com>, mail_id: 7Mv6ViHwja79, Hits: 0.203, size: 1115, queued_as: 2A77B1C11E3, dkim_new=dkim:abc.com, 17445 ms, Tests: [ALL_TRUSTED=-1,TVD_RCVD_SINGLE=1.213,T_RP_MATCHES_RCVD=-0.01]

回复: 发信时的amavis错误日志

clamav 服务没有启动。

回复: 发信时的amavis错误日志

ZhangHuangbin 写道:

clamav 服务没有启动。

是因为病毒库没有更新完成导致的。昨天freshclam日志里面有daily.cld未更新成功。今天查看已经是全部up to date了。
看来墙又高了。。哎生存不易。