Re: Create a rule for utf8 subject
Jostein Berntsen <[email protected]> Tue, 06 Oct 2015 14:48:07 +0200
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <20151006124807.GA1889@jostein> |
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