[imapfilter-devel]quotes
Matej Cepl
matej at ceplovi.cz
Wed Sep 18 00:08:00 EEST 2002
I have in my ~/.imapfilterrc (on Debian GNU/Linux 3.0
woody/stable) following:
filter spam or
mask header Content-Type "text/html; charset=euc-kr"
mask header Content-Type "text/html; charset=gb2312"
mask header Content-Type "text/html; charset=ks_c_5601-1987"
... [further masks]
action delete
The problem seems to be, that sometimes the content of
Content-Type is quoted and sometimes not. My filter I believe
gets unquoted ones, but I do not know how to make imapfilter to
catch both
Content-Type: text/html; charset=euc-kr
and
Content-Type: text/html; charset="euc-kr"
(if possible, than by one mask catching both -- some kind of
``quotes insensitivity''). And of course, it would help when the
program would catch also the version divided in middle, i.e.,
something like this:
Content-Type: text/html;
charset=euc-kr
(but I am know, whether the last one is not already caught).
Thanks a lot,
Matej Cepl
--
Matej Cepl, matej at ceplovi.cz
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
The function of the expert is not to be more right than other
people, but to be wrong for more sophisticated reasons.
-- Dr. David Butler, British psephologist
More information about the Imapfilter-devel
mailing list