Hello.
I have such trouble with Thunderbird:
I got email with subject (on russian koi8-r):
Subject: =?koi8-r?b?0NLP18XSy8E=?= =?koi8-r?b?INrBx8/Mz9fLwQ==?=
dbmail_headervalue.headervalue now contains subject as unencoding value
(if I try to see it by hand in database, I see correct string)
But, when TB send command:
17 UID fetch 208855 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From
To Cc Subject Date Message-ID Priority X-Priority References Newsgroups
In-Reply-To Content-Type)])
it get:
RFC822.SIZE 632 FLAGS () UID 208855 BODY[HEADER.FIELDS (From To Cc Subject
Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content
-Type)] {233}
content-type: text/plain; charset=KOI8-R; format=flowed
date: Fri, 27 Apr 2007 14:36:24 +0400
from: Oleg Lapshin <[EMAIL PROTECTED]>
message-id: <[EMAIL PROTECTED]>
subject: ???????? ?????????
to: [EMAIL PROTECTED]
)
17 OK UID FETCH completed
so, subject field is corrupted and became string of questions
and in message's list I see only questions as subjects.
When TB show me the hole message, it shows it correct, because message's parts
are from dbmail_messageblks table (where message stored in original form)
As for kmail, it send different command:
54 UID FETCH 208869:208869 (UID RFC822.SIZE FLAGS ENVELOPE
BODY.PEEK[HEADER.FIELDS (REFERENCES)])
and get correct response:
RFC822.SIZE 649 FLAGS () UID 208869 ENVELOPE ("Fri, 27 Apr 2007 14:59:29
+0400" "=?koi8-r?b?0NLP18XSy8E=?= =?koi8-r?b?INrBx8/Mz9fLwQ==?=" (("Oleg
Lapshin" NIL "loe" "domain.ru")) (("Oleg Lapshin" NIL "loe" "domain.ru"))
(("Oleg Lapshin" NIL "loe" "domain.ru")) ((NIL NIL "loe" "domain.ru")) NIL
NIL NIL "
<[EMAIL PROTECTED]>") BODY[HEADER.FIELDS (REFERENCES)] {2}
)
54 OK UID FETCH completed
and all headers are correct.
Question is:
why there are questions in reply to TB command?
Can dbmail send such headervalues in encoding form, but not as questions?
PS. I use dbmail-svn
--
Oleg Lapshin
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev