Install amavisd after remove it.

Discussion in 'Installation/Configuration' started by Abdelkarim Mateos, Jun 28, 2016.

  1. Abdelkarim Mateos

    Abdelkarim Mateos New Member

    I remove amavis on system.

    Now, I've installed amavsid, but I think process it's not correct.

    Code:
    Jun 28 10:12:14 kvm472 amavis[15239]: (15239-02-8) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
    Jun 28 10:12:15 kvm472 amavis[15239]: (15239-02-8) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
    Jun 28 10:12:15 kvm472 amavis[15239]: (15239-02-8) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock, retrying (2)
    Jun 28 10:12:15 kvm472 amavis[15245]: (15245-02-7) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
    Jun 28 10:12:15 kvm472 amavis[15245]: (15245-02-7) (!)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
    Jun 28 10:12:15 kvm472 amavis[15245]: (15245-02-7) (!)WARN: all primary virus scanners failed, considering backups
    Jun 28 10:12:21 kvm472 amavis[15239]: (15239-02-8) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: No such file or directory
    Jun 28 10:12:21 kvm472 amavis[15239]: (15239-02-8) (!)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
    Jun 28 10:12:21 kvm472 amavis[15239]: (15239-02-8) (!)WARN: all primary virus scanners failed, considering backups
    
    I see /etc/amavisd.conf and /etc/amavisd/amavisd.conf and some post about this files.
    Also I've buy Manual ISPConfig3 but references for install amavis are simple. Not reference to this files.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    So you don't want to use the mail system? Amavis is a core component and system requirement for ispconfig email servers and many features of the mail module will fail without it.

    If you run a web server without any mail accounts and no incoming emails, then you can use this guide to remove amavis http://www.faqforge.com/linux/contr...ilter-and-antivirus-functions-in-ispconfig-3/ so that outgoing emails of your websites don't get scanned.

    To fix your setup, follow the latest CentOS perfect server to the letter to get a completely working server:

    https://www.howtoforge.com/tutorial...l-php-pureftpd-postfix-dovecot-and-ispconfig/
     

Share This Page