Matthias Haeker schreef:
next thing to lear is how to put all the bad words in a file
and to read it in.
Have you considered SpamAssasin?
must be something like
****
#BADWORD.list
bad1 \
bad2 \
bad3 \
.......
******
You can easily do that in pure procmail too, check the archives.
Example:
BADWORDS = '(\
bad1|\
bad2|\
bad3|\
intelligent design)'
:0
*$ B ?? ()\<\/$BADWORDS\>
{ BADWORD = $MATCH }
BADWORDS = `cat badwords.txt`
Since you are willing to spill a process, try fgrep.
--
Groet, Ruud
____________________________________________________________
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