martin f krafft schrieb:
Hi folks,
I sometimes get mail with a raw subject line like this:
Subject: =?iso-8859-1?q?ilpostino=2Ejpberlin=2Ede_Mitgliedschafts-Erinner?=
=?iso-8859-1?q?ung?=
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?
Hi
i found this on the Web
http://www.xs4all.nl/~rvtol/procmail/archive/
and the 101_bq.zip
contains what you need.
i use it this way
:0
* SUBJECT ?? ()\/.*=\?[a-z0-9-]+\?[bq]\?[^?]+\?=.*
{
bq_Input=$MATCH
bq_Dir="/etc/admin/procmail/inc/"
INCLUDERC=/etc/admin/procmail/inc/bq.inc
SUBJECT="$bq_Return"
}
Matthias
____________________________________________________________
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