A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=805 
====================================================================== 
Reported By:                maximP
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   805
Category:                   LMTP daemon
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             09-Sep-09 16:41 CEST
Last Modified:              10-Nov-09 20:12 CET
====================================================================== 
Summary:                    LMTPD dies when incorrect utf-8 character is in
header
Description: 
It seems that not enough checks are performed when parsing and storing
header values (and maybe header names also). When Dbmail tries to store a
header with incorrect utf-8 character, the exception from PostgreSQL is
thrown:

Error:[message] _header_value_get_id(+1575): SQLException: ERROR:  invalid
byte sequence for encoding "UTF8": 0xd0 HINT: This error can also happen if
the byte sequ

And LMTPD just dies. I had to switch to message delivering through
dbmail-deliver, it's more reliable when such problems exist.

Would it better for LMTPD not to die in case of errors, but be able to
deliver next messages?

Unfortunately, I can't provide the mail message which caused the problem
(it was canceled by MTA after some days).
====================================================================== 

---------------------------------------------------------------------- 
 (0002940) maximP (reporter) - 02-Nov-09 17:19
 http://www.dbmail.org/mantis/view.php?id=805#c2940 
---------------------------------------------------------------------- 
Any thoughts concerning this problem? 

---------------------------------------------------------------------- 
 (0002944) paul (administrator) - 10-Nov-09 20:12
 http://www.dbmail.org/mantis/view.php?id=805#c2944 
---------------------------------------------------------------------- 
Maxim,

I looked into this. 
Plz try:
http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=82e7d21504044bb4b27d2d9a69d33bb85d043bf9


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
09-Sep-09 16:41  maximP         New Issue                                    
02-Nov-09 17:19  maximP         Note Added: 0002940                          
10-Nov-09 20:12  paul           Note Added: 0002944                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to