You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by je...@yahoo.es on 2006/11/10 17:01:06 UTC
procmail run or not run?
Hi list, I have trouble with procmail
I have debian sarge with spamassassin, postfix and procmail
the file of procmail it's
someone tellme what's wrong?
I don't know how to set the file o where set the parameter, thanks for help
me
#cat /etc/procmailrc
# 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.
DROPPRIVS=yes
# 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 250 kB
# (250 * 1024 = 256000 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
* < 256000
| 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.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
probably-spam
# Work around procmail bug: any output on stderr will cause the "F" in
"From"
# to be dropped. This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
#Borrar ciertos mensajes
#Ejemplo: Borrar mensajes con la palabra "Viagra"
#:0
#* ^Subject: .*Viagra
#/dev/null
:0
* ^Subject: .*Posible_SPAM
/dev/null
:0
* ^X-SPAM:
/dev/null
:0:
* ^X-Spam-Flag: YES
/dev/null
:0:
* ^X-Spam-Level: *
/var/vmail/$DOMAIN/$LOGNAME/.spam/cur
# $HOME/mail/spam
:0
* ^Subject: .*Posible_SPAM*
/dev/null
mail:/var/log#
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m�viles desde 1 c�ntimo por minuto.
http://es.voice.yahoo.com