[exim-dev] ${rfc2047: problem}

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dmitriy Kirhlarov
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] ${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.
---

Look like unfixed now.

How I can avoid this problem?
May be, embedded perl using or just update from repository?

exim-4.67
FreeBSD 6.2-STABLE

WBR.
Dmitriy