• Skip to main content

zoiaorg

Tech, Strategy, and other interesting things by Roberto Zoiaby Roberto Zoia

  • Articles
  • Book Reviews
  • Effective Goal Setting
  • What I’m Reading
  • Archive
  • About

Spamassassin y publicidad

2006-01-26 by Roberto Zoia

Hace ya varias semanas se publicó la ley 28493, la ley Anti-Spam en el Perú. La verdad que me parece que ahora llega más Spam nacional que antes… pero eso sí, viene bien etiquetado con “publicidad” en el subject.

He creado una regla sencilla en mi perfil local del Spamassassin (en el servidor que baja mi correo), de modo que todo email que diga “publicidad” en el subject vaya a la carpeta SPAM.

En el archivo ~/.spamassassin/user_prefs, se añade al final:

header    L_PUBLICIDAD
Subject   = ~/bp.{0,2}u.{0,2}b.{0,2}l.{0,2}i.{0,2}c.{0,2}i.{0,2}d.{0,2}a.{0,2}d.{0,2}b/i
describe  L_PUBLICIDAD gappy Publicidad
score     L_PUBLICIDAD 7.5

Filed Under: Legacy Tagged With: bayesian filter, spam, spamassassin

Did you like this article?

Join our FREE Newsletter and receive updates directly to your inbox.

We hate SPAM. We'll keep your email address safe.

  • What I’m Focused on Now
  • Español
  • Privacy Policy

Copyright © 2021 Roberto Zoia
zoia.org runs on WordPress using a customized version of the Parallax Pro Theme for the Genesis Framework.

This website uses cookies to improve your experience.Accept
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.