Actualizar reglas spamassassin

Miguel Coa M. -

1. No logueamos como usuario Zimbra

[zimbra@correo]$su - zimbra

2. Nos dirigimos al directorio 

[zimbra@correo]$ cd /opt/zimbra/zimbramon/bin/

3. Actualizamos 

[zimbra@correo bin]$ ./sa-update -v --updatedir /opt/zimbra/conf/spamassassin --allowplugins --refreshmirrors
Update available for channel updates.spamassassin.org
Update was available, and was downloaded and installed successfully

4. Verificamos la fecha de los archivos de actualización

[zimbra@correo bin]$ ls -al /opt/zimbra/conf/spamassassin/ |grep updates_spamassassin_org
drwxr-x--- 2 zimbra zimbra 4096 Oct 24 15:50 updates_spamassassin_org
-rw-r----- 1 zimbra zimbra 2695 Oct 24 15:50 updates_spamassassin_org.cf

5. Verificamos la versión del update

[zimbra@correo bin]$ cat /opt/zimbra/conf/spamassassin/updates_spamassassin_org.cf | grep UPDATE

6. Reiniciamos el servicio amavis

[zimbra@correo bin]$ zmamavisdctl restart 

 

Lo anterior, va crear un directorio nuevo que contendrá la información con las reglas actualizadas que se llamará /opt/zimbra/conf/spamassassin/updates_spamassassin_org

[root@zeus spamassassin]# ls -la /opt/zimbra/conf/spamassassin/updates_spamassassin_org
total 952
drwxr-x--- 2 zimbra zimbra 4096 Oct 24 17:06 .
drwxr-xr-x 4 zimbra zimbra 4096 Oct 24 17:01 ..
-rw-r----- 1 zimbra zimbra 62 Oct 24 17:06 100_test.cf
-rw-r----- 1 zimbra zimbra 8710 Oct 24 16:59 10_default_prefs.cf
-rw-r----- 1 zimbra zimbra 2387 Oct 24 16:59 10_hasbase.cf
-rw-r----- 1 zimbra zimbra 7619 Oct 24 16:59 20_advance_fee.cf
-rw-r----- 1 zimbra zimbra 8708 Oct 24 16:59 20_aux_tlds.cf
-rw-r----- 1 zimbra zimbra 7012 Oct 24 16:59 20_body_tests.cf
-rw-r----- 1 zimbra zimbra 1901 Oct 24 16:59 20_compensate.cf
-rw-r----- 1 zimbra zimbra 11213 Oct 24 16:59 20_dnsbl_tests.cf
-rw-r----- 1 zimbra zimbra 15062 Oct 24 16:59 20_drugs.cf
-rw-r----- 1 zimbra zimbra 11499 Oct 24 16:59 20_dynrdns.cf
-rw-r----- 1 zimbra zimbra 8444 Oct 24 16:59 20_fake_helo_tests.cf
-rw-r----- 1 zimbra zimbra 3024 Oct 24 16:59 20_freemail.cf

 

Y el archivo /opt/zimbra/conf/spamassassin/updates_spamassassin_org.cf  que va incluir las reglas actualiza en el análisis de los correos. 

 

# UPDATE version 1401197
include updates_spamassassin_org/10_default_prefs.cf
include updates_spamassassin_org/10_hasbase.cf
include updates_spamassassin_org/20_advance_fee.cf
include updates_spamassassin_org/20_aux_tlds.cf
include updates_spamassassin_org/20_body_tests.cf
include updates_spamassassin_org/20_compensate.cf
include updates_spamassassin_org/20_dnsbl_tests.cf
include updates_spamassassin_org/20_drugs.cf
include updates_spamassassin_org/20_dynrdns.cf
include updates_spamassassin_org/20_fake_helo_tests.cf
include updates_spamassassin_org/20_freemail.cf
include updates_spamassassin_org/20_freemail_domains.cf
include updates_spamassassin_org/20_head_tests.cf
include updates_spamassassin_org/20_html_tests.cf
include updates_spamassassin_org/20_imageinfo.cf
include updates_spamassassin_org/20_mailspike.cf
include updates_spamassassin_org/20_meta_tests.cf

 

 

¿Tiene más preguntas? Enviar una solicitud

0 Comentarios

Inicie sesión para dejar un comentario.
Tecnología de Zendesk