In the pursuit of trying to stop spam I created a rbl_override and postmap then added the hash check to postfix. I then tried to send some virus from google to test and I started getting these errors.
Apr 22 13:13:54 ap amavis[14636]: (14636-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
Apr 22 13:13:54 ap amavis[14636]: (14636-05) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock, retrying (2)
below is also the output when I do a status check.
Now I had to turn it off. If someone can help me fix this I would be so happy. I am kinda at the end of all of this.
Apr 22 13:13:54 ap amavis[14636]: (14636-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
Apr 22 13:13:54 ap amavis[14636]: (14636-05) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock, retrying (2)
below is also the output when I do a status check.
Now I had to turn it off. If someone can help me fix this I would be so happy. I am kinda at the end of all of this.
Code:
● amavisd.service - Amavisd-new is an interface between MTA and content checkers.
Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2017-04-22 13:04:17 PDT; 1h 16min ago
Docs: http://www.ijs.si/software/amavisd/#doc
Main PID: 14634 (/usr/sbin/amavi)
CGroup: /system.slice/amavisd.service
├─14634 /usr/sbin/amavisd (master
├─14635 /usr/sbin/amavisd (ch7-avail
└─14636 /usr/sbin/amavisd (ch8-avail
Apr 22 13:31:01 domain.net amavis[14635]: (14635-07) (!)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
Apr 22 13:31:01 domian.net amavis[14635]: (14635-07) (!)WARN: all primary virus scanners failed, considering backups