$ sudo aptitude install clamav clamav-daemon $ sudo freshclam
— Mario A. Guerra Araya 2005/08/05 12:54
$ sudo aptitude install unrar-nonfree lha arj unzoo zip unzip bzip2 gzip cpio file lzop
$ sudo aptitude install pyzor razor
$ sudo aptitude install spamassassin
— Mario A. Guerra Araya 2005/08/05 12:54
$ sudo aptitude install amavisd-new
$mydomain = 'midominio.com'; # Pon el dominio que corresponda $virus_quarantine_to = 'miusuario'; # Usuario a recibir reportes de virus $spam_quarantine_to = 'usuario; # y de correo basura
$ sudo gedit /etc/postfix/master.cf
# Agregas al final del fichero
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o disable_dns_lookups=yes
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
# Fin del agregado
$ sudo gedit /etc/postfix/main.cf # Agregas al final del fichero content_filter = smtp-amavis:[127.0.0.1]:10024 # Fin del agregado
$ sudo /etc/init.d/postfix restart
— Mario A. Guerra Araya 2005/08/13 12:49