Toen wij Robert Allerstorfer kietelden, kwam er dit uit:
whitespace between adjacent 'encoded-word's. That whitespace should
then be removed. But this does not seem to be easily makeable with
procmail. Still have to think on how to convert
=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?= c =?ISO-8859-1?Q?d?=
to
=?ISO-8859-1?Q?a?==?ISO-8859-1?Q?b?= c =?ISO-8859-1?Q?d?=
in order to deobfuscate it to
ab c d
http://www.xs4all.nl/~rvtol/procmail/
Check out my 'bq_wrap.rc' that demoes 'inc/snr_wild.inc'.
It does a rather opportunistic search&replace
of '\?=[$WS]+=\?'
by '?==?'.
It of course also uses 'inc/bq.inc' for decoding.
Charsets are still ignored, which is reasonable
for ISO-8859-1, ISO-8859-15, UTF-8.
To do: decode underscores to spaces (inside q-encoded strings).
And for just 'deobfuscation', see how 'qpr_raw.rc' does it.
--
Grtz, Ruud
____________________________________________________________
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