Installazione Amavisd-new in Debian: Difference between revisions
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
http://rvmserver/mediawiki/index.php?title=Installazione_Mcafee | http://rvmserver/mediawiki/index.php?title=Installazione_Mcafee | ||
* Configurare Amavis: | |||
<pre> | |||
vi /etc/amavis/amavisd.conf | |||
</pre> | |||
<pre> | |||
--- /etc/amavis/amavisd.conf | |||
$mydomain = 'dominio.dom'; # (no useful default) | |||
$final_spam_destiny = D_PASS; # (defaults to D_REJECT) | |||
$virus_admin = "alert\@rvmgroup.it"; # due to D_DISCARD default | |||
$spam_admin = "alert\@rvmgroup.it"; | |||
@bypass_spam_checks_acl = qw( . ); # uncomment to DISABLE anti-spam code | |||
# per fare il check solo su un utente@dominio.com, inserire: | |||
# @bypass_spam_checks_acl = qw( '!utente@dominio.com ); | |||
$log_level = 3; # (defaults to 0) to have statistics | |||
</pre> | |||
Restartare amavis: | |||
<pre> | |||
/etc/init.d/amavis stop ;/etc/init.d/amavis start | |||
</pre> | |||
Verificare che Amavis ascolti sulla porta 10024: | |||
<pre> | |||
netstat -an | grep 10024 | |||
</pre> | |||
il cui risultato dovrà essere qualcosa di simile: | |||
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN | |||
e | |||
<pre> | |||
ps wax | grep amavis | |||
</pre> | |||
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: | |||
<pre> | |||
adduser clamav amavis | |||
</pre> | |||
Revision as of 14:22, 30 June 2005
Amavisd
- Effettuare l'installazione:
apt-get install amavisd-new
- Installare Clamav:
http://rvmserver/mediawiki/index.php?title=Clamav
- Installare i decompressori:
apt-get install zoo unzip unarj 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).
- Copiare i files in /files/src/mcafee per installare Mcafee. Prelevarli da \\rvmserver\Install\McAfee\Linux.
- Installare McAfee:
http://rvmserver/mediawiki/index.php?title=Installazione_Mcafee
- Configurare Amavis:
vi /etc/amavis/amavisd.conf
--- /etc/amavis/amavisd.conf $mydomain = 'dominio.dom'; # (no useful default) $final_spam_destiny = D_PASS; # (defaults to D_REJECT) $virus_admin = "alert\@rvmgroup.it"; # due to D_DISCARD default $spam_admin = "alert\@rvmgroup.it"; @bypass_spam_checks_acl = qw( . ); # uncomment to DISABLE anti-spam code # per fare il check solo su un utente@dominio.com, inserire: # @bypass_spam_checks_acl = qw( '!utente@dominio.com ); $log_level = 3; # (defaults to 0) to have statistics
Restartare amavis:
/etc/init.d/amavis stop ;/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:
adduser clamav amavis