|
Re: [jf] RE: another INCLUDERC after junkfilter
On 08-Nov-2000 Gregory Sutter wrote:
># Take action if junkfilter caught a junkmail.
>:0
> * JFEXP ?? .
> {
> :0 f
> * JFSTATUS ?? 1
> | formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP"
>
> :0 E :
> INCLUDERC=theotherrcfile.rc
> }
>
> If you want more examples, let me know.
This is what I did. I removed the lock after E in the part of the recipe I
added, because procmail had trouble with that lock.
INCLUDERC=$JFDIR/junkfilter
:0
* JFEXP ?? .
{
:0 f
* JFSTATUS ?? 1
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP"
# | formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP" \
# >> $SPAMFOLDER
:0 E
INCLUDERC=/home/pollywog/.procmail/cleanup.rc
}
It did not work :( I sent some mail to this account and after my
modifications, junkfilter misses it, though it should have been tagged as
possible spam.
--
Andrew
|