This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Centos 7 | Postfix + Amavisd-new + ClamAV + Spamassassin
#16
RE: Centos 7 | Postfix + Amavisd-new + ClamAV + Spamassassin
(05-31-2016, 09:00 AM)zfedor Wrote: After installing everything as instructed (on CentOS 7), while the test spam and virus emails are properly classified, the maillog shows the following error:


May 31 00:55:13 sf amavis[3540]: (03540-05) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt Forum Add-ons and Usage: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
May 31 00:55:14 sf amavis[3540]: (03540-05) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt Forum Add-ons and Usage: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
May 31 00:55:14 sf amavis[3540]: (03540-05) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock, retrying (2)
May 31 00:55:18 sf amavis[3539]: (03539-05) Blocked INFECTED (Eicar-Test-Signature) {DiscardedInbound,Quarantined}, [74.125.82.41]:38479 [74.125.82.41] <zoltan.0.fedor@gmail.com> -> <zfedor@sf.com>, Queue-ID: EA875BF7CE, Message-ID: <CADi59_YrQ4KonGKf_G8778fxrBmGYkyJp7uZtCqUd+QHdjSw@mail.gmail.com>, mail_id: pjCwn64nuId, Hits: -, size: 2797, dkim_sd=20120113:gmail.com, 26349 ms
May 31 00:55:18 sf postfix/smtp[4682]: EA875BF7CE: to=<zfedor@sf.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=26, delays=0.12/0.02/0.01/26, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=03539-05 - INFECTED: Eicar-Test-Signature)
May 31 00:55:18 sf postfix/qmgr[4535]: EA875BF7CE: removed
May 31 00:55:20 sf amavis[3540]: (03540-05) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt Forum Add-ons and Usage: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
May 31 00:55:20 sf amavis[3540]: (03540-05) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamd.amavisd/clamd.sock (All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock) at (eval 129) line 613.\n
May 31 00:55:20 sf amavis[3540]: (03540-05) (!)WARN: all primary virus scanners failed, considering backups

(05-31-2016, 10:11 AM)chongma Wrote: I had the same problem. Did you try installing clamav-scanner?  You need to restart all the services after that

Yes, I have installed the clamav-scanner and then manually restarted all service. Now - just to be sure - restarted the whole server, but the maillog still shows the same error as before, no change.
Reply
Thanks given by:


Messages In This Thread
RE: Centos 7 | Postfix + Amavisd-new + ClamAV + Spamassassin - by zfedor - 05-31-2016, 11:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Fail2ban for Sentora (Centos 7) bbspike 14 48 ,683 01-14-2020, 07:32 AM
Last Post: Vedran B
[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] betatester3.0 5 19 ,362 03-18-2019, 01:23 AM
Last Post: BigBang
Ubuntu: How to setup TLS on postfix and dovecot Diablo925 28 116 ,156 02-15-2018, 08:46 PM
Last Post: duane

Forum Jump:


Users browsing this thread: 4 Guest(s)