procmail
[Top] [All Lists]

Re: Create a rule for utf8 subject

2015-10-06 07:54:35
On 06.10.15,13:22, Penguinfriend wrote:
Hi

I wonder if anybody have a solution for the following example

:0
* ^Subject:.*PGPKEY
$DEFAULT

if the Subject line is coded like this will never be a hit

=?UTF-8?B?............=?=

How do I handle this so I will get a hit in the relevant case


You can convert the Subject with "perl -MEncode". Check the approved answer
here:

http://stackoverflow.com/questions/29715013/decode-the-utf8-to-iso-8859-1-mail-subject-to-text-in-procmailrc-file


Jostein
____________________________________________________________
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