I am using Postfix as the mail server delivering email to maildir type
mailboes and for spam filtering I am using junkfilter
(http://junkfilter.zer0.org/). Here is the recipe I am using and the
errors I am getting while the recipe is in place:
<begin recipe>
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/usr/sbin:.
MAILDIR=$HOME/Maildir
JFDIR=/usr/local/etc/junkfilter
LOGFILE=$MAILDIR/from
# ----- add Lines: header for Maildir mail -----
:0 fhw
* ! ^Lines: [0-9]+$
* 1^1 B ?? ^.*$
* -1^0
| formail -i "Lines: $="
##
## Stop Duplicates
##
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
# Call junkfilter
INCLUDERC=$JFDIR/junkfilter
# Take action if junkfilter caught a junkmail.
:0 :
* JFEXP ?? .
{
:0 f
* JFSTATUS ?? 1
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP"
:0 E :
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP" \
>> $MAILDIR/junkmail
}
# ----- anything else goes here -----
:0
$MAILDIR/
<end recipe>
<begin error>
procmail: Extraneous locallockfile ignored
/usr/local/bin/bash: /home/insane/Maildir/.junkmail/: Is a directory
From newmachine1(_at_)mymail(_dot_)com(_dot_)br Mon May 7 02:25:56 2001
SUBJECT: Get Your Own .COM ! for FREE!
<end error>
Any ideas...
TIA
--
------------------------------------------------------------------------------
Ron Rosson ... and a UNIX user said ...
The InSaNe One rm -rf *
insane(_at_)oneinsane(_dot_)net and all was /dev/null and
*void()
------------------------------------------------------------------------------
Tagline generated by 'gensig' mail-client-independent .signature generator.
Get your copy at http://www.geeks.com/~robf/gensig/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail