Alan Clifford <lists(_at_)clifford(_dot_)ac> writes:
I received a spam with the subject as
Subject: =?gb2312?B?obbK6dG2xtq/ry0tzajQxc34wuehtygyMDAyxOo41MK12jLG2ik=?=
...
What is it? Can it be detected by looking for the =? followed by a
charset expression?
Yes. This is described in rfc2047, "MIME Part 3: Message Header
Extensions for Non-ASCII Text". The general form is
"=?" charset "?" encoding "?" encoded-text "?="
(This is extended by rfc2184 to allow specification of language with
the charset using the following syntax:
"=?" charset ["*" language] "?" encoded-text "?="
This isn't used much, but should be kept in mind when writing conditions.)
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail