I've been getting spam containing ascii characters in the range
of 128 to 255. The recipe I am using follows. My question is:
Is this efficient or inefficiency? Is there notably more
efficient alternative.
--
Dick
EGREP=/usr/bin/egrep
FGREP=/usr/bin/fgrep
SUBJ_TITL=`formail -zxSubject:`
FROM_ADDR=`formail -rtzxTo:`
# Interrogate extended_ASCII file.
# --------------------------------
:0:
* ? echo "$SUBJ_TITL" | $EGREP -i -f zz.asc
$TRASH
NOTES:
1. It does work.
2. zz.asc is shown below
-- begin --
¤
¥
ª
µ
¿
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
Ø
Ù
Ú
Û
Ü
Ý
Þ
â
å
æ
ç
è
é
ê
ë
ì
í
î
ï
ð
ô
õ
þ
-- end --
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail