[eside-ghost] Filtrar SPAM en Postfix

Borja Sotomayor borja en borjanet.com
Sab Nov 15 20:46:43 CET 2003


Hola a todos,

Bueno, por fin me he sentado tranquilamente delante de mi servidor y lo 
he configurado para que volatilice cualquier SPAM que le llegue. He 
utilizado Amavis y el SpamAssassin, y la verdad es que tira muuuy bien. 
Como me parece que lo de montar un filtro de SPAM en el PostFix es algo 
que le interesa a unas cuantas personas, os comento los dos HOWTOs que 
más utiles me han resultado:

http://ezine.daemonnews.org/200309/postfix-spamassassin.html

http://bulmalug.net/impresion.phtml?nIdNoticia=1799

(especialmente recomendable el primero, que es bastante exhaustivo y 
parte practicamente desde cero)

Finalmente, solo como curiosidad, es que me mofo con las reglas del 
SpamAssassin. Este es un report de uno de los mensajes que ha rechazado 
el SpamAssassin (atentos a la segunda regla :-P )


  1.0 SUBJ_HAS_SPACES        Subject contains lots of white space
  0.6 PENIS_ENLARGE2         BODY: Information on getting larger 
penis/breasts
  0.5 FREE_TRIAL             BODY: Free Trial
  4.3 MONEY_BACK             BODY: Money back guarantee
  0.1 HTML_FONTCOLOR_UNKNOWN BODY: HTML font color is unknown to us
  0.3 HTML_TAG_BALANCE_BODY  BODY: HTML has unbalanced "body" tags
  0.0 HTML_MESSAGE           BODY: HTML included in message
  0.1 HTML_FONT_BIG          BODY: HTML has a big font
  0.1 HTML_FONTCOLOR_UNSAFE  BODY: HTML font color not in safe 6x6x6 palette
  0.4 HTML_TAG_BALANCE_HTML  BODY: HTML has unbalanced "html" tags
  0.1 HTML_70_80             BODY: Message is 70% to 80% HTML
  0.1 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
  0.4 HTML_FONT_INVISIBLE    BODY: HTML font color is same as background
  0.1 HTML_FONTCOLOR_RED     BODY: HTML font color is red
  0.7 MIME_HTML_NO_CHARSET   RAW: Message text in HTML without charset
  3.1 USERPASS               URI: URL contains username and (optional) 
password
  0.8 BIZ_TLD                URI: Contains a URL in the BIZ top-level domain
  2.0 DATE_IN_FUTURE_12_24   Date: is 12 to 24 hours after Received: date
  1.1 FORGED_OUTLOOK_HTML    Outlook can't send HTML message only
  1.1 FORGED_OUTLOOK_TAGS    Outlook can't send HTML in this format
  0.0 CLICK_BELOW            Asks you to click below


Un saludo,
--
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Borja Sotomayor, Universidad de Deusto
  Assistant Professor, Department of Software Engineering
  ESIDE, Room 510, Av.Universidades 24, 48007 Bilbao (Spain)
  phone: +34-94-413-9000 (ext.2724)  fax: +34-94-413-9101
GT3 Tutorial: http://www.casa-sotomayor.net/gt3-tutorial/
BorjaNet:  http://www.borjanet.com/   borja en borjanet.com
·····························································
                  "I drank WHAT???" (Socrates)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::