The following issue has been CLOSED ====================================================================== 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: low Status: closed target: Resolution: unable to reproduce Fixed in Version: ====================================================================== Date Submitted: 04-Jul-06 20:18 CEST Last Modified: 30-Jan-07 21:07 CET ====================================================================== 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 ---------------------------------------------------------------------- paul - 20-Jul-06 15:54 ---------------------------------------------------------------------- I'm unable to reproduce this problem. Looks like you've set TRACE_STDERR but havent defined error_log in dbmail.conf. That doesn't explain the segfault, but it doesn't help either. ---------------------------------------------------------------------- aaron - 05-Oct-06 23:28 ---------------------------------------------------------------------- Hi, is this bug still an issue with SVN trunk? ---------------------------------------------------------------------- paul - 30-Jan-07 21:07 ---------------------------------------------------------------------- closing due to lack of feedback 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 20-Jul-06 15:54 paul Note Added: 0001310 20-Jul-06 15:54 paul Priority normal => low 20-Jul-06 15:54 paul Status new => feedback 20-Jul-06 15:54 paul Resolution open => unable to reproduce 05-Oct-06 23:28 aaron Note Added: 0001467 30-Jan-07 21:07 paul Note Added: 0001803 30-Jan-07 21:07 paul Status feedback => closed ====================================================================== _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
