(P L E A S E with no attachmnt!!!!!)
Now, to my procmailrc:
SUBJ=| formail -xSubject:
...
* SUBJ ?? ()\?=\?(iso-8859-1|utf-8)\?\/..[^\?]*
{
:0
* MATCH ?? B\?\/[^\?]*
{ BBB=`echo $MATCH | mimencode -u | cat -v` }
:0
* MATCH ?? Q\?\/[^\?]*
{ QQQ=`echo $MATCH | mimencode -u -q | cat -v` }
TEXT="$QQQ$BBB"
}
The ''cat -v`` is for "outer" characters.
Bye,
Udi
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?
--
martin | http://madduck.net/ | http://two.sentenc.es/
"my father, a good man, told me:
'never lose your ignorance; you cannot replace it.'"
-- erich maria remarque
spamtraps: madduck(_dot_)bogus(_at_)madduck(_dot_)net
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
____________________________________________________________
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
____________________________________________________________
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