Stephan Seitz:
> On Fr, Nov 08, 2019 at 03:31:05 +0100, Jaroslaw Rafa wrote:
> >But in that case probably LDA is the best place to do such change. Some 
> >time ago I was doing something similar via procmail.
> 
> Yes, I could do the same with procmail. But procmail will probably like 
> postfix use the encoded subject, so I don?t know how to handle subjects 
> like =?UTF-8?Q?Aw=3A_Weinprobe_gut_=C3=BCberstanden=3F?=

In the header_checks file:

/^(Subject:\s*=\?UTF-8\?Q\?)Aw([:=].+)/ REPLACE ${1}Re${2}

Or use some pattern that also captures strings other than UTF-8?Q.
I am lazy.

        Wietse

Reply via email to