----- Original Message -----
From: "Dick Adams"
I would like to interrogate $SUBJ_TITL for the following ascii codes:
000-008, 11-12, 14-19, 23-25, 27-31, 127, 176-223, and 255.
Dick,
I use this:
:0
....
....
* ^(Subject|From|To):\/(_dot_)*[~(_at_)-ÿ]
{
:0 fwh
| formail -A"X-Loop: adult-trap 8bit" -I "Subject: [8BIT] $SUBJECT"
EXITCODE="1"
:0
/dev/null # ! spam(_at_)intgrp(_dot_)com
}
Here's a thread to read:
http://blog.gmane.org/gmane.mail.procmail/month=20040501/page=1
The trick is the actually getting the then write two character between the
range. To can put a dummy charact in there, save the file, then run hexedit
on the script.
My is:
00001B40 7C 46 72 6F 6D 7C 54 6F 29 3A 5C 2F 2E 2A 5B 80
|From|To):\/.*[.
00001B50 2D FF 5D 0A 7B 0A 20 3A 30 20 66 77 68 0A 20 7C -.].{. :0
fwh. |
80 2D FF means traps ascii chars 128 thru 255.
-eric wood
____________________________________________________________
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