Chris Thielen wrote:
Pál László (Sq.) wrote:
I also would like to remove spams over a certain level, so I'v created
the following .procmailrc entry
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/dev/null
It seems not working. What is the problem?
Looks fine to me. Is that recipe in your procmailrc AFTER spamassassin
is called? Or is it being skipped for some reason?
Here's mine:
:0H
*^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
Maildir/.Junk.2bLearnt/
here is how I do it
then I don't have to count stars :)
# ---------------------------------------
# Default Shell, Program & file locations
# ---------------------------------------
SHELL=/bin/bash
DEFAULT=$HOME/Maildir/
FORMAIL=/usr/bin/formail
MAILDIR=$HOME/Mail
PMDIR=$HOME
SENDMAIL=/usr/sbin/sendmail
# -----------------------------------------------
# this is where procmail mimedefang is configured
# -----------------------------------------------
INCLUDERC=/etc/procmailrc
# -----------------
# delete duplicates
# -----------------
:0 Wh: msgid.lock
| $FORMAIL -D 8192 msgid.cache
#---------------------------------------------------
#rules to sort out mailing lists that don't get spam
#---------------------------------------------------
:0 H:
* ^List-Id:.*video4linux-list.redhat.com
v4l/new
:0 H:
* ^From:[EMAIL PROTECTED]
dilbert/new
#-------------------
#spamassassin filter
#-------------------
:0fw
| /usr/bin/spamc
:0 H:
* ^X-Spam-Status: +(yes|no), +score=\/[^. ]*
* ? (( ${MATCH} > 14 ))
/dev/null
:0 H:
* ^X-Spam-Status: Yes.*
Junk/new
#-------------------------------------------
# rules for mailing lists that get some spam
#-------------------------------------------
:0 H:
* ^List-Id:.*ivtv-devel.lists.sourceforge.net
ivtv/new
# --------------------------
# all else goes to the inbox
# --------------------------
:0
$DEFAULT
my new server will run the mail thru spamassassin before it gets to
procmail - I'm not sure yet if I will like that.