A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=752 
====================================================================== 
Reported By:                maximP
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   752
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
target:                      
====================================================================== 
Date Submitted:             12-Jan-09 11:04 CET
Last Modified:              03-Feb-09 11:44 CET
====================================================================== 
Summary:                    Dbmail changes header charset
Description: 
Message header values for messages stored in mimeparts table may differ
from those of messages injected to dbmail. For instance, Russian headers
From: and To: in UTF-8 turn to iso-8859-5. It seems to be gmime feature
(trying to select the appropriate charset for UTF-8 data), but it is
completely wrong in this case, imho.

====================================================================== 

---------------------------------------------------------------------- 
 (0002733) paul (administrator) - 25-Jan-09 13:35
 http://dbmail.org/mantis/view.php?id=752#c2733 
---------------------------------------------------------------------- 
Maxim,

the mimeparts contains the messageparts as-is.
The header caching tables contain strings converted into the charset
specified in dbmail.conf.

If you still feel there is a bug, please provide steps to reproduce. 

---------------------------------------------------------------------- 
 (0002736) maximP (reporter) - 26-Jan-09 09:23
 http://dbmail.org/mantis/view.php?id=752#c2736 
---------------------------------------------------------------------- 
Steps to reproduce:
1. Take the attached file and look in it. Will see UTF-8 in From: and To:
headers.
2. Run dbmail-deliver -d someuser <test.eml
3. See mimeparts table contents. Will see iso-8859-5 in From: and To:
headers. 

---------------------------------------------------------------------- 
 (0002753) paul (administrator) - 03-Feb-09 09:21
 http://dbmail.org/mantis/view.php?id=752#c2753 
---------------------------------------------------------------------- 
Please provide the relevant setting (encoding) from dbmail.conf.
Also please provide a file_logging_levels=511 trace of the dbmail-deliver
run. 

---------------------------------------------------------------------- 
 (0002755) maximP (reporter) - 03-Feb-09 10:13
 http://dbmail.org/mantis/view.php?id=752#c2755 
---------------------------------------------------------------------- 
I use these parameters:
encoding = utf8
default_msg_encoding = cp1251

BTW, the system is openSUSE 11.1 with gmime-2.2.23.

The log file for 511 level (log.gz) is attached.

 

---------------------------------------------------------------------- 
 (0002756) paul (administrator) - 03-Feb-09 11:44
 http://dbmail.org/mantis/view.php?id=752#c2756 
---------------------------------------------------------------------- 
Please clarify step 3 of steps-to-reproduce.
As I said: mimeparts contain unmodified parts of the message. How did you
verify the modified encoding?

I've inserted and retrieved your message on a pg8.3 installation. Looks
good to me.

Retrieval was tested with dbmail-export and with Thunderbird on
dbmail-imapd. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
12-Jan-09 11:04  maximP         New Issue                                    
25-Jan-09 13:35  paul           Note Added: 0002733                          
25-Jan-09 13:35  paul           Status                   new => feedback     
26-Jan-09 09:23  maximP         Note Added: 0002736                          
26-Jan-09 09:23  maximP         File Added: test.eml                         
03-Feb-09 09:21  paul           Note Added: 0002753                          
03-Feb-09 10:12  maximP         Note Added: 0002755                          
03-Feb-09 10:12  maximP         File Added: log.gz                           
03-Feb-09 10:13  maximP         Note Edited: 0002755                         
03-Feb-09 10:37  jasb           Issue Monitored: jasb                        
03-Feb-09 11:44  paul           Note Added: 0002756                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to