Usar Spamassassin y que detecte SPAM Peruano

Es algo muy conocido que el SPAM es un dolor de cabeza para todo el mundo. Obviamente porque las palabras van variando y siempre existen emails que se nos pasan.

Si bien es cierto que el spamassassin detecta en un 90% el SPAM extranjero, como que para el SPAM que llega de Perú siempre tenemos varios problemas, sencillamente porque son diferentes las frases, las formas de enviarlo o porque al final se pasa todo por la calificación que no llegaba a 6.0

Spamassassin

Esto para mi era un dolor de cabeza constante dado que los clientes se empezaban a quejar porque cada quien tenia un problema diferente, se quejaban que el SPAM pasaba siempre y que no les funcionaba bien.

Es por eso que despues de investigar un poco y ver como funcionaba el dichoso spamassassin, pude hacer algo automatizado para que a los servers que usan el spamassassin con el Mailscanner, vayan a mi servidor y descarguen el archivo de los nuevos spams peruanos que siempre llegan y son tan fastidiosos.

Y efectivamente que funcionó, porque empecé a ponerle bastantes reglas de spammers conocidos peruanos, y el spamassassin empezó a detectarlos y a marcarlos como spam.

La instalación es muy sencilla. Lo primero que tienen que hacer es despues de haber instalado el postfix (o sendmail) con el Mailscanner y spamassassin, descarguen el siguiente archivo:

https://mail.cipher.pe/update-sa/update-sa.sh

Ese archivo yo lo pongo en un directorio “bin” que he creado dentro del directorio root:

/root/bin

y obviamente le dan permisos de ejecución al archivo que descarguen las actualizaciones

[root@mail][~/bin> chmod +x update-sa.sh

Para que el funcionamiento sea el automático, lo que pueden hacer es que el crontab efectue el trabajo por ustedes,

En el archivo /etc/crontab le insertamos la línea

1 2 * * * root /bin/sh /root/bin/update-sa.sh 2>/dev/null

Y listo, el servidor se va a encargar de descargar de mi servidor el archivo actualizado de los spams peruanos, y va a reiniciar el servicio automáticamente. Van a darse cuenta que el filtro de spams va a mejorar.

Esto lo tengo probado y en producción en servidores CentOS tanto mios como de mis clientes.

La solución que corro es Postfix + Mailscanner + Clamav + Spamassassin, todo instalado desde repositorios oficiales como el de rpmforge, a excepción del Mailscanner que si lo instalo desde http://www.mailscanner.info/downloads.html usando el link para Redhat / CentOS / Fedora.

Alex Celi

15 Responses to “Usar Spamassassin y que detecte SPAM Peruano”

  1. Aliancista says:

    Excelente aporte, lastima que seas de la U nadie es perfecto 🙂

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

  2. Aliancista says:

    Excelente aporte, lastima que seas de la U nadie es perfecto 🙂

  3. David M says:

    Es necesario cambiar alguna regla del postfix o MailScanner?

    Actualmente estoy usando el archivo spam.assassin.prefs.conf, que está en /etc/MailScanner, pero que es un enlace del mailscanner.cf hubicado en /etc/mail/spamassassin.

    ¿Y, van a poder convivir los dos?

    Saludos y muy buen aporte,
    David M.

  4. Paul Criollo says:

    Saludos Alex, gracias excelente aporte, tengo varios servidores, ya lo probe en uno y esta 100%..
    Att.

    Paúl Criollo

  5. walter says:

    probandolo en mi relay… 🙂

    gracias por el aporte.

    Walter

  6. gino says:

    Yo uso amavisd y solo edito el tema del mailscanner por el amavis y rula .. debi postearlo hace mucho , solo volvi al url por mi server caido ..

    mil disculpas …

  7. asd says:

    BUENA MAN.

    SALUDAME A NOE MEZA EL ¨HUASABERTO¨

  8. Amal Salter says:

    I wanted to draft you the very little word just to give thanks over again for your personal nice tactics you have discussed at this time. This has been wonderfully generous of people like you to offer openly all a number of people could possibly have distributed for an electronic book to help make some money on their own, and in particular considering the fact that you could possibly have tried it in case you wanted. These principles in addition worked to be the good way to know that some people have a similar desire just like my own to see a whole lot more with regards to this matter. I’m certain there are a lot more fun times up front for folks who find out your blog post.

  9. ambbet says:

    I wanted to draft you the very little word just to give thanks over aambbet

  10. สมัคร Ambbet says:

    to draft you the very little word just to give thanks สมัคร Ambbet

  11. I want to express some thanks to you for rescuing me from this particular dilemma. Just after browsing throughout the internet and getting methods that were not powerful, I figured my entire life was gone. Living without the presence of strategies to the problems you’ve solved as a result of this write-up is a crucial case, as well as the ones which may have adversely affected my entire career if I had not noticed your site. Your own understanding and kindness in maneuvering all the pieces was invaluable. I don’t know what I would have done if I had not come upon such a thing like this. I’m able to now relish my future. Thanks a lot so much for the expert and effective guide. I will not think twice to recommend your web page to any individual who would like recommendations on this problem.

  12. mega game says:

    Mobile game mega game

  13. Pusoy Dos says:

    roulette online- World’s Top Online Casinos, new user welfare register bonus 66₱, daily Betting Rebate 2. fast withdraw, good bonus, variety of games, World brand is trustworthy. Slot games, Card games , Live Casino, Animals(Cockfight games), fishing.

  14. การดูหนังออนไลน์ เป็นสิ่งที่นิยมกันมากมายในช่วงปัจจุบัน ซึ่งถ้าเทียบกับยุคก่อนๆแล้ว การดูหนังสักหัวข้อนั้น มิได้ทำง่ายสุดๆเสมือนในยุคปัจบันนี้ ไม่ว่าจำเป็นต้องไปเช่าหนัง ตามร้านเช่า vdo แล้วไหนจำเป็นจะต้องหาเครื่องเล่นหนัง หรือ TV เพื่อมาต่อให้ใช้งานได้บางครั้งบางคราวแผ่นก็มีปัญหาบ้าง ดูหนังมิได้บ้างไม่ใช่แค่เสียเงินสิ่งเดียวแถมยังเสียเวล่ำเวลาสำหรับการดำเนินชีวิตที่จะจำเป็นต้องรอเอาแผ่นไปคืน หรือ ไปเช่าเรื่องใหม่ๆมาดูเพิ่มอีก ซึ่งช่วงปัจจุบัน การดูหนังมิได้เหนื่อยยากขนาดนั้นอีกต่อไปแล้ว การดูหนังออนไลน์ นั้นสามารถทำเป็นง่ายแล้วก็สะดวกสบายมากเพิ่มขึ้นเมื่อเทียบกับแต่ก่อน ท่านเพียงแค่จำเว็บของพวกเราเอาไว้ 24-hd.com ไม่ว่าท่านจำเป็นที่จะต้องการดูหนังเรื่องไหน ท่านสามารถใช้งานปุ่มเซิร์ทด้านขวาที่อยู่ข้างบน รวมทั้งใส่ชื่อเรื่องหนังที่ท่านปรารถนาดู ท่านก็จะสามารถ “ดูหนังผ่านอินเตอร์เน็ต” ได้ในทันที.

  15. What i don’t realize is actually how you are not actually much more well-liked than you might be now. You’re so intelligent. You realize thus considerably relating to this subject, produced me personally consider it from numerous varied angles. Its like women and men aren’t fascinated unless it’s one thing to accomplish with Lady gaga! Your own stuffs nice. Always maintain it up!

Leave a Reply