Klaus Johannes Rusch schrieb:
Klaus Johannes Rusch wrote:
*MATCH*
This variable is assigned to by procmail whenever it is told to
extract text from a matching regular expression. It will contain all
text matching the regular expression past the ‘*\/*’ token.
You will need to add ‘*\/*’ to the beginning of the pattern to have
the result stored in $MATCH.
Sorry for the extra asterisks, this should read:
MATCH
This variable is assigned to by procmail whenever it is told to
extract text from a matching regular expression. It will contain all
text matching the regular expression past the ‘\/’ token.
You will need to add ‘\/’ to the beginning of the pattern to have the
result stored in $MATCH.
Thank u for pointing me in the right direction..
I figured the * already out and it is working
but
next thing to lear is how to put all the bad words in a file and to read
it in.
must be something like
****
#BADWORD.list
bad1 \
bad2 \
bad3 \
.......
******
BADWORDS = `cat badwords.txt`
:0
* B ?? \/( $BADWORDS)
{ BADWORD=$MATCH }
but i have no real idea ???????
Matthias
____________________________________________________________
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