[rephrased question: how do you filter 8-bit characters in the subject header via procmail?
It cooks on the í which I believe to be an extended ASCII 161
Note that is an 8-bit character.
This rule breaks on a message with Subject: víagra
:0
* ^Subject:.*(víagra¦v1agra¦pénis¦prescripti0n¦Medicati0n¦M0rtgage¦Xanaxz)
{
LOG="(THE 7 DIRTY WORDS) "
:0
/dev/null
}
[procmailLOG] --note the Subject header is garbage.
From
jones@justjones.edu Thu Feb 12 21:10:19 2004
Subject: =?ISO-8859-1?Q?Fwd:_v=EDagra?=
Folder: /var/spool/mail/jones
This rule works [7-bit ASCII only] with Subject: v1agra
:0
* ^Subject:.*(v1agra¦prescripti0n¦Medicati0n¦M0rtgage¦Xanaxz)
{
LOG="(THE 7 DIRTY WORDS --) "
:0
/dev/null
}
[procmailLOG]
(THE 7 DIRTY WORDS) From
jones@justjones.edu Thu Feb 12 21:03:30 2004
Subject: Fwd: v1agra
Folder: /dev/null
for the record, the word has to be spelled wrong to get on my
7 dirty words list note the zeros insted of O's in prescript0n
reference George Carlin, 1970's, "The 7 Dirty Words"
v\íagra doesn't work either.