Debian – clamav à jour

Debian – clamav à jour

Édition des dépôts

Pour commencer, ajoutez dans le fichier " /etc/apt/sources.list "

deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free

Vous devriez avoir ceci :

deb http://ftp.fr.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ stable main non-free contrib

deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

Mettez à jour le système

apt-get update && apt-get upgrade

Installez clamav

apt-get install clamav clamav-base clamav-daemon clamav-freshclam libclamav2 libclamav3

Pour le configurer avec postfix/amavis

Arrêtez clamav

/etc/init.d/clamav-daemon stop && /etc/init.d/clamav-freshclam stop

Éditez les fichiers de configuration /etc/clamav/clamd.conf et /etc/clamav/freshclam.conf pour remplacer l’utilisateur avec lequel les damons tournent en amavis

Changez les droits

chown -R amavis /var/log/clamav/ /var/run/clamav/ /var/lib/clamav/

Voila, vous pouvez relancer clamav et freshclam, vous n’aurez plus les erreurs suivante

amavis[3736]: (03736-02) (!) ClamAV-clamd: Can’t connect to UNIX socket /var/run/clamav/clamd.ctl

Source : http://www.draggi.net/index.php?post/2008/01/06/4-clamav-postfix-amavis-et-autres-probleme-de-mail">http://www.draggi.net/index.php?200


Suggestions de lecture :

comments powered by Disqus