« Ajouter des signatures ClamAV dans zimbra 8.8 » : différence entre les versions

De Linux Server Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 19 : Ligne 19 :
work_dir="/opt/zimbra/clamav-unofficial-sigs/unofficial-dbs"
work_dir="/opt/zimbra/clamav-unofficial-sigs/unofficial-dbs"
user_configuration_complete=”yes“
user_configuration_complete=”yes“
</pre>
<pre>
chmod +x clamav-unofficial-sigs.sh
./clamav-unofficial-sigs.sh -c ./clamav-unofficial-sigs.conf
</pre>
</pre>

Version du 17 février 2016 à 19:49

mkdir /opt/zimbra/clamav-unofficial-sigs
chown zimbra:zimbra /opt/zimbra/clamav-unofficial-sigs
su - zimbra
cd clamav-unofficial-sigs
wget https://github.com/extremeshok/clamav-unofficial-sigs/archive/4.9.2.tar.gz -O clamav-unofficial-sigs_4.9.2.tar.gz
tar --strip-components=1 -xf clamav-unofficial-sigs_4.9.2.tar.gz

Editez le fichier clamav-unofficial-sigs.conf :

clam_user="zimbra"
clam_group="zimbra"
clam_dbs="/opt/zimbra/data/clamav/db"
clamd_pid="/opt/zimbra/log/clamd.pid"
work_dir="/opt/zimbra/clamav-unofficial-sigs/unofficial-dbs"
user_configuration_complete=”yes“
chmod +x clamav-unofficial-sigs.sh
./clamav-unofficial-sigs.sh -c ./clamav-unofficial-sigs.conf