[LACNIC/Seguridad] Spamassassin sin conexión

Hugo Pablo hugo.pablo.leyva en gmail.com
Lun Jul 14 22:18:18 BRT 2008

¡ Hola Lista !

   Tengo un servidor Solaris 10
Levante el sendmail y ya recibe correo.
Estoy intentando instalar el spamassassin 3.2.4 y no se deja
Lo instale con el comando
/opt/csw/bin/pkg-get -i spamassassin
Ya lo probe con los comandos
 spamassassin -t < sample-nonspam.txt > nonspam.out
      spamassassin -t < sample-spam.txt > spam.out
Y segun ellos funciona.
Instale el procmail tambien con
/opt/csw/bin/pkg-get -i procmail
Segun el archivo INSTALL del directorio donde instalo el spamassasin debo de
crear el archivo .procmail en el HOME de los usuarios y modificar el
El procmail lo saque del archivo de ejemplo que trae
# SpamAssassin sample procmailrc
# ==============================
# The following line is only used if you use a system-wide /etc/procmailrc.
# See procmailrc(5) for infos on what it exactly does, the short version:
#  * It ensures that the correct user is passed to spamd if spamc is used
#  * The folders the mail is filed to later on is owned by the user, not
#    root.
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
# The condition line ensures that only messages smaller than 500 kB
# (500 * 1024 = 512000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
:0fw: spamassassin.lock
* < 512000
| spamassassin
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
* ^X-Spam-Status: Yes
# Work around procmail bug: any output on stderr will cause the "F" in
# to be dropped.  This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
* ^^rom[ ]
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
Al .forward le agregue
"|IFS=' ' && exec /opt/csw/bin/procmail -f- || exit 75 #user"

Pruebo enviando correos y NO atrapa los spam
¿ Que puede ser ?
¡ Gracias !
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://mail.lacnic.net/pipermail/seguridad/attachments/20080714/81166820/attachment.html>

Más información sobre la lista de distribución Seguridad