A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=376 
====================================================================== 
Reported By:                gfdsa
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   376
Category:                   PIPE delivery (dbmail-smtp)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             04-Jul-06 20:18 CEST
Last Modified:              05-Jul-06 11:44 CEST
====================================================================== 
Summary:                    Some messages with attachments cause dbmail-smtp to
sefault
Description: 
I am attaching a message which when passed through postfix causes piper to
die on sig 11.
This happens not only with this particular, but with many others too, the
only shared characteristic I can track, they are all multiparted and as
far as i can see with base64 encoded attachments.
The same message cat'ed to dbmail-smtp in shell gets into db, but, if I
sign it with pgp or ssl smime the signature is broken, which means some
bits have changed.
Do far, I managed to track it down till I see that it segfaults on
db_query:
nt db_query(const char *q)
{
        unsigned querysize = 0;
        assert(q);
        trace(TRACE_DEBUG,"printing the query!");
        trace(TRACE_DEBUG, "%s,%s: query [%s]", __FILE__, __func__, q);
gives me: 
Debug printing the query!
Jul  4 19:12:39 milanin postfix/smtpd[32569]: disconnect from
unknown[138.132.54.105]
Jul  4 19:12:39 milanin postfix/pipe[32574]: E3C46B0020:
to=<[EMAIL PROTECTED]>, relay=dbmail, delay=1, status=deferred
(Command died with signal 11: "/usr/local/dbmail/sbin/dbmail-smtp".
Command output: Debug printing the query! Debug dbmysql.c,db_query: query
[SHOW VARIABLES LIKE 'collation_%'] Debug dbmysql.c,db_query: query [SHOW
VARIABLES LIKE 'collation_%'] Debug dbmysql.c,db_mysql_check_collations:
does [collation_database:latin1_swedish_ci] match
[collation_connection:latin1_swedish_ci]? Debug printing the query! Debug
dbmysql.c,db_query: query [SELECT 1=1 FROM dbmail_physmessage LIMIT 1
OFFSET 0] Debug dbmysql.c,db_query: query [SELECT 1=1 FROM
dbmail_physmessage LIMIT 1 OFFSET 0] Debug printing the query! Debug
dbmysql.c,db_query: query [SELECT 1=1 FROM dbmail_headervalue LIMIT 1
OFFSET 0] Debug dbmysql.c,db_query: query [SELECT 1=1 FROM
dbmail_headervalue LIMIT 1 OFFSET 0] Debug
dbmail-message.c,_set_content_from_stream: parse message Info dsn.c,
dsnuser_resolve: checking if [Michael.Tabol

I strongly believe that it's some kind of charset problem...

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

---------------------------------------------------------------------- 
 gfdsa - 05-Jul-06 11:44  
---------------------------------------------------------------------- 
tested the message with dbmail-lmtp, works like a charm 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-Jul-06 20:18 gfdsa          New Issue                                    
04-Jul-06 20:18 gfdsa          File Added: attach.txt.gz                    
04-Jul-06 20:18 gfdsa          Issue Monitored: gfdsa                       
04-Jul-06 20:18 gfdsa          Issue End Monitor: gfdsa                     
04-Jul-06 20:19 gfdsa          Issue Monitored: gfdsa                       
04-Jul-06 20:21 gfdsa          File Added: que_files.tgz                    
05-Jul-06 11:44 gfdsa          Note Added: 0001294                          
======================================================================

Reply via email to