[exim] ${rfc2047: problem}

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dmitriy Kirhlarov
Ημερομηνία:  
Προς: Exim-users
Αντικείμενο: [exim] ${rfc2047: problem}
Hi, list.

I did maillists with exim.
I'm rewriting Subject field:
"original subject" -> "[list-name] original subject"
"[old-list] forward message" -> "{list-name forward message"

also, I'm changing list_name to list-name.

My rule:
headers_add = Subject: ${rfc2047:${sg {$h_subject:}{^(([^[]*\\[[^[]*\\]
*)*)(.*)\$}{[${tr{$local_part}{_}{-}}] \$3}}}


It's work, but I have problem with long russian text in subject.
${rfc2047:...} doesn't folding long lines and I get message with wrong
Subject line.

I find description in doc/ChangeLog and
http://exim.org/mail-archives/exim-dev/2006-January/msg00015.html
http://exim.org/mail-archives/exim-dev/2006-January/msg00017.html
---
Same problem, now I can't embed a single LF. Btw: 4.60 contains some
bugs in that area. Sorry about that, but I am currently working on
fixing them.
---

How I can avoid this problem?

exim-4.67
FreeBSD 6.2-STABLE

WBR.
Dmitriy