2006/11/24, Camaleón
2006/11/24, Emiliano Sutil:
Pero sigo con el otro problema y ya no se me ocurre que mirar,
¿A alguien le funciona? ¿como tiene el amavisd.conf y el local.cf?
Yo no lo tengo activado (no me gusta), pero si miro en la ayuda de Amavid-new, veo lo siguiente:
Analicemos esto a ver si damos con ello, How to add the spam tags to all inbound messages so that spam score
and test information appear in the message header?
By reducing the tag level (and keeping tag2 and kill levels high if desired), one may enable spam-related header fields to be inserted to inbound mail (i.e. for recipients matching @local_domains_acl)
- tag level is where X-Spam-Status and X-Spam-Level header fields start to appear (e.g. setting tag level to 0 (or even better to -9999) would turn this on permanently);
yo tengo $sa_tag_level_deflt = -999; # add spam info headers if at, or above that level Es decir segun este parametro voy a añadir cabeceras a todos los correos y esto si que ocurre. - tag2 level is where a message is considered spam as far as mail
header fields and adding address extensions are concerned: the X-Spam-Flag: YES header field appears, the X-Spam-Status gets a YES, Subject gets a ***SPAM*** if subject editing is enabled, (optional) recipient address extensions are added;
$sa_tag2_level_deflt = 5.0;
Si obtengo en mensaje con la puntuación superior a 5.0 le va a añadir la
cabecera X-Spam-Flag: YES y en ese caso le va a poner lo de ***SPAM***
Aqui nos paramos, esto no lo he conseguido.
Paso un report y lo vemos:
SpamAssassin report:
------------- Comienzo de los resultados de SpamAssassin ---------------
Este correo probablemente es spam. El mensaje original ha sido alterado
para que pueda reconocer o bloquear en el futuro correo no solicitado,
usando las capacidades de filtrado que incorpora su lector de correo.
Detalles del análisis: (6.3 puntos, 5.0 requeridos)
4.1 VIAGRA BODY: Plugs Viagra
-0.0 BAYES_44 BODY: Bayesian spam probability is 44 to 50%
[score: 0.4949]
0.1 HTML_FONTCOLOR_BLUE BODY: HTML font color is blue
0.1 HTML_MESSAGE BODY: HTML included in message
0.3 HTML_FONT_BIG BODY: HTML has a big font
0.1 HTML_70_80 BODY: Message is 70% to 80% HTML
0.1 HTML_FONTCOLOR_RED BODY: HTML font color is red
1.5 RCVD_IN_BL_SPAMCOP_NET RBL: Recibido desde un relay en bl.spamcop.net
[Blocked - see http://www.spamcop.net/bl.shtml?217.220.202.221]
---------------- Fin de los resultados de SpamAssassin -----------------
------------------------- BEGIN HEADERS -----------------------------
Return-Path: