Instalación de Spamassassin Imprimir

  • 13

#Habilitar los repositorios RPM

#http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

#Instalar los paquetes necesarios:

yum -y install perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-IO-Zlib perl-Digest-SHA perl-Mail-SPF perl-IP-Country perl-Razor2 perl-Net-Ident perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-Mail-DKIM perl-DBI perl-Encode-Detect

#Instalar mediante custombuild

cd /usr/local/directadmin/scripts
./spam.sh

#Iniciar el demonio de spamassassin

/usr/bin/spamd -d -c -m 15

#Descomentar las siguientes lineas de /etc/exim.conf

# Spam Assassin
#spamcheck_director:
#  driver = accept
#  condition = "${if and { \
#      {!def:h_X-Spam-Flag:}  \
#      {!eq {$received_protocol}{spam-scanned}}  \
#      {!eq {$received_protocol}{local}}  \
#      {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}}  \
#      {<{$message_size}{100k}} \
#    } {1}{0}}"
#  retry_use_local_part
#  transport = spamcheck
#  no_verify

 

#Reiniciar exim

/sbin/service exim restart

 


#http://help.directadmin.com/item.php?id=36


¿Fue útil la respuesta?

« Atrás

["\r\n