procmail
[Top] [All Lists]

junkfilter rules for MH

2014-06-03 11:34:52
hello,

I have installed junkfilter and it appears to be tagging the headers
in the emails correctly but the recipe in the procmailrc.sample file
doesn't appear to move the message to the corresponding junkmail box
any suggestions?

Below is the recipe...

# Call junkfilter
INCLUDERC=$JFDIR/junkfilter

# Take action if junkfilter caught a junkmail.
:0
* JFEXP ?? .
{
# This is for the whitelist. The message is tagged with an
# X-Spammer: header, but is not filtered away.
:0 f
* JFSTATUS ?? 1
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP"

# Non-whitelist messages are tagged and sent to a junk
mailbox.
:0 E :
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer:
$JFEXP" \

    >> junkmail

}
### who is the junkmail folder ?
# Catches everything else.
:0 :
|rcvstore +inbox

# EOF procmailrc.sample

OS: Linux debian


procmail -v
procmail v3.22 2001/09/10
    Copyright (c) 1990-2001, Stephen R. van den Berg
<srb(_at_)cuci(_dot_)nl> Copyright (c) 1997-2001, Philip A.
Guenther                <guenther(_at_)sendmail(_dot_)com>

Submit questions/answers to the procmail-related mailinglist by sending
to: <procmail-users(_at_)procmail(_dot_)org>

And of course, subscription and information requests for this list to:
        <procmail-users-request(_at_)procmail(_dot_)org>

Locking strategies:     dotlocking, fcntl()
Default rcfile:         $HOME/.procmailrc
        It may be writable by your primary group
Your system mailbox:    /var/mail/bernard

best regard
bernard
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>