decoding non-ascii subject lines

martin f krafft madduck at
Fri Nov 2 19:20:50 CET 2007

Hi folks,

I sometimes get mail with a raw subject line like this:

  Subject: =?iso-8859-1?q?ilpostino=2Ejpberlin=2Ede_Mitgliedschafts-Erinner?=

Do you know of a good way to convert this within procmail so that
I can use filtering expressions that work on the expanded, non-ascii
text? I've had a brief look around, but short of a Python or Perl
parser, could not find any tool to do this. What do you do?

martin | |
"my father, a good man, told me:
'never lose your ignorance; you cannot replace it.'"
                                               -- erich maria remarque
spamtraps: madduck.bogus at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see
URL: <>

More information about the procmail mailing list