The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=396 ====================================================================== Reported By: Maria Assigned To: ====================================================================== Project: DBMail Issue ID: 396 Category: LMTP daemon Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 18-Aug-06 16:35 CEST Last Modified: 18-Aug-06 16:35 CEST ====================================================================== Summary: Forwarded messages arrive with their headers in the body of the email Description: I am using Qmail + Dbmail so the sendmail program is qmail's sendmail. When a user has a forwarding address set the message arrives at the destination with all the headers in the body of the message and an extra newline between each header (which is probably why the recepient client displays them in the body).
i.e. a forwarded message looks as follows: (even though it arrives ok to the local mailbox and displayed properly from there) Date: 18 Aug 2006 15:11:48 +0100 Message-ID: <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Test X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Aug 18 15:11:48 2006 X-DSPAM-Confidence: 0.9898 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 54,44e5caa4131891968313023 X-DBMail-PhysMessage-ID: 4021136 MIME-Version: 1.0 Test2 The following is a level 5 trace for the message delivery: Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Info pipe.c, send_forward_list: delivering to [1] external addresses Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug pipe.c, send_mail: sendmail command is [/usr/sbin/sendmail] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Info pipe.c, send_mail: opening pipe to [/usr/sbin/sendmail -f [EMAIL PROTECTED] [EMAIL PROTECTED] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug pipe.c, send_mail: pipe opened Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug db.c,db_send_message_lines: request for [-2] lines Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmysql.c,db_query: query [SELECT physmessage_id FROM dbmail_messages WHERE message_idnr = '8051314'] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug db.c,db_send_message_lines: sending [-2] lines from message [8051314] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmysql.c,db_query: query [SELECT messageblk FROM dbmail_messageblks WHERE physmessage_id = '4021142' ORDER BY messageblk_idnr] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmail-message.c,_set_content_from_stream: parse message Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug pipe.c, send_mail: pipe closed Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Info sendmail exited normally Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmysql.c,db_query: query [SELECT physmessage_id FROM dbmail_messages WHERE message_idnr = '8051313'] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmysql.c,db_query: query [DELETE FROM dbmail_messages WHERE message_idnr = '8051313'] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmysql.c,db_query: query [SELECT message_idnr FROM dbmail_messages WHERE physmessage_id = '4021142'] Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug pipe.c, insert_messages: temporary message deleted from database. Done. Aug 18 15:14:23 mail2 dbmail/lmtpd[21152]: Debug dbmysql.c,db_query: query [COMMIT] ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 18-Aug-06 16:35 Maria New Issue ======================================================================