Installazione Amavisd-new in Debian: Difference between revisions
m →Amavisd |
mNo edit summary |
||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
apt-get install amavisd-new | sudo apt-get install amavisd-new | ||
</pre> | </pre> | ||
| Line 18: | Line 18: | ||
cat/etc/apt/sources.list | cat/etc/apt/sources.list | ||
... | ... | ||
deb http://ftp.it.debian.org/debian/ | deb http://ftp.it.debian.org/debian/ etch main contrib non-free | ||
... | ... | ||
</pre> | </pre> | ||
| Line 24: | Line 24: | ||
Installarli | Installarli | ||
<pre> | <pre> | ||
apt-get update | sudo apt-get update | ||
apt-get install zoo unzip | sudo apt-get install zoo unzip arj unrar lha lzop bzip2 | ||
</pre> | </pre> | ||
| Line 39: | Line 39: | ||
... | ... | ||
</pre> | </pre> | ||
Installare la chiave: | |||
wget http://support.rvmgroup.it/debian//gabriele.mailing@rvmgroup.it-public.key.gpg -O - \ | |||
| sudo apt-key add - | |||
sudo apt-get update | |||
Installare: | Installare: | ||
apt-get install mcafee-virusscan mcafee-autoupdate | sudo apt-get install mcafee-virusscan mcafee-autoupdate | ||
( Obsoleto http://rvmserver/mediawiki/index.php?title=Installazione_Mcafee) | ( Obsoleto http://rvmserver/mediawiki/index.php?title=Installazione_Mcafee) | ||
| Line 49: | Line 56: | ||
<pre> | <pre> | ||
sudoedit /etc/amavis/conf.d/15-content_filter_mode | |||
</pre> | </pre> | ||
<pre> | <pre> | ||
... | |||
@bypass_virus_checks_maps = ( | |||
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re); | |||
... | |||
$ | |||
</pre> | </pre> | ||
| Line 67: | Line 69: | ||
<pre> | <pre> | ||
/etc/init.d/amavis stop ;/etc/init.d/amavis start | sudo /etc/init.d/amavis stop ; sudo /etc/init.d/amavis start | ||
</pre> | </pre> | ||
| Line 100: | Line 102: | ||
<pre> | <pre> | ||
adduser clamav amavis | sudo adduser clamav amavis | ||
</pre> | </pre> | ||
Revision as of 06:42, 18 June 2007
Amavisd
- Effettuare l'installazione:
sudo apt-get install amavisd-new
- Installare Clamav:
http://rvmserver/mediawiki/index.php?title=Installazione_Clamav_aggiornato_da_volatile
- Installare i decompressori:
Assicurasi di di avere i repository contrib e non-free configurati (Servono per unrar):
cat/etc/apt/sources.list ... deb http://ftp.it.debian.org/debian/ etch main contrib non-free ...
Installarli
sudo apt-get update sudo apt-get install zoo unzip arj unrar lha lzop bzip2
In caso si lamenti per unrar, aggiungere non-free alle righe di /etc/apt/sources.list (e lanciare apt-get update, affinchè vengano accettate le modifiche alle righe di /etc/apt/sources.list).
- Installare McAfee:
Assicurarsi che esista il NOSTRO repository
cat/etc/apt/sources.list ... deb http://support.rvmgroup.it/debian binary/ ...
Installare la chiave:
wget http://support.rvmgroup.it/debian//gabriele.mailing@rvmgroup.it-public.key.gpg -O - \ | sudo apt-key add -
sudo apt-get update
Installare:
sudo apt-get install mcafee-virusscan mcafee-autoupdate
( Obsoleto http://rvmserver/mediawiki/index.php?title=Installazione_Mcafee)
- Configurare Amavis:
sudoedit /etc/amavis/conf.d/15-content_filter_mode
... @bypass_virus_checks_maps = ( \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re); ...
Restartare amavis:
sudo /etc/init.d/amavis stop ; sudo /etc/init.d/amavis start
Verificare che Amavis ascolti sulla porta 10024:
netstat -an | grep 10024
il cui risultato dovrà essere qualcosa di simile:
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN
e
ps wax | grep amavis
il cui risultato dovrà essere qualcosa di simile:
10491 ? S 0:00 amavisd (master)
10492 ? S 0:00 amavisd (virgin child)
10493 ? S 0:00 amavisd (virgin child)
10497 pts/0 S 0:00 grep amavis
Se si vuol far funzionare clamav-daemon occorre aggiungere l'utente clamav al gruppo amavis:
sudo adduser clamav amavis