1 (edited by rain6966 2019-09-22 11:34:35)

Topic: /etc/clamd.d/amavisd.conf:21

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi 版主:

messages:
Sep 22 11:05:13 mail clamd: WARNING: Ignoring deprecated option AllowSupplementaryGroups at /etc/clamd.d/amavisd.conf:21

當寄信時 maillog:
Sep 22 11:05:35 mail amavis[8401]: (08401-01) (!)connect to /var/run/clamd.amavisd/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.socket: 沒有此一檔案或目錄
Sep 22 11:05:35 mail amavis[8401]: (08401-01) (!)clamav-socket: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.socket, retrying (2)

----

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

2

Re: /etc/clamd.d/amavisd.conf:21

rain6966 wrote:

Sep 22 11:05:13 mail clamd: WARNING: Ignoring deprecated option AllowSupplementaryGroups at /etc/clamd.d/amavisd.conf:21

clamv 新版本里淘汰了这个参数,可以删除。

rain6966 wrote:

Sep 22 11:05:35 mail amavis[8401]: (08401-01) (!)connect to /var/run/clamd.amavisd/clamd.socket failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.socket: 沒有此一檔案或目錄

clamav 服务(clamd@amavisd)没有启动,请尝试启动它。

3

Re: /etc/clamd.d/amavisd.conf:21

请另外按照这个帖子里的说明,增加 systemd 的 override.conf 文件:
https://forum.iredmail.org/post70589.html#p70589

4

Re: /etc/clamd.d/amavisd.conf:21

ZhangHuangbin wrote:

请另外按照这个帖子里的说明,增加 systemd 的 override.conf 文件:
https://forum.iredmail.org/post70589.html#p70589

在我 Server 來說:
此設定前天我有看到,也試過了, 為了明確驗證是否有效.
昨試著再刪除此設定, 今查看也沒有出現 .
故我Server的問題應與此無關; 不過我還是把它加上.

查為大樓停電1小時,來電Server 自動重開機後, 就一直出現錯誤訊息

刪除:
/var/lib/clamav/daily.clcl
/var/lib/clamav/main.cvd
再 freshclam  一樣

謝謝版主昨的回復:

/etc/clamd.d/amavisd.conf
註解:
#AllowSupplementaryGroups true

clamd@amavisd 確實是沒啟動 .
重啟 systemctl restart amavisd

現一切正常.

Thanks.