Resend No Answer last time.
Can anyone make suggestions?
Subject: How to Not Scan attachments when filtering
I have procmail working just fine on my system. I have a text file with
one word per line called .bodywords
The problem is occasionally I will receive an attachment for example a
jpeg and the filter reads the decoded jpeg file and if it happens to
match random text in the .bodywords file it is matched and sent to my
spam folder.
Is there a way to modify this filter to NOT read the decoded text of an
attachment?
SHELL=/bin/sh
PATH=/usr/local/bin:/usr/contrib/bin:/usr/bin:/bin:/usr/sbin
MAILDIR=$HOME/mail
DEFAULT=/var/mail/$LOGNAME
LOGFILE=$MAILDIR/log.`date +%m%d`
VERBOSE=yes
SPAM=suspected_spam.`date +%m%d`
LOCKFILE=lock
COMSAT=no
BODYWORDS=.bodywords
:0 B
* ? (formail | fgrep -iqf $BODYWORDS)
$SPAM
.bodywords contains keywords
word1
word2
word3
word4
word5
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail