The following issue has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=511 ====================================================================== Reported By: Anne Assigned To: aaron ====================================================================== Project: DBMail Issue ID: 511 Category: LMTP daemon Reproducibility: always Severity: major Priority: normal Status: resolved target: Resolution: fixed Fixed in Version: 2.2.4 ====================================================================== Date Submitted: 22-Feb-07 13:44 CET Last Modified: 03-Mar-07 18:15 CET ====================================================================== Summary: when filesystem is full, only header block is inserted Description: When /tmp has unsufficient diskspace, dbmail inserts only the header block.
dbmail 2.2.2, Postfix 2.3.7, Mysql 5.0.27, Amavis 2.4.2, p5-Mail-SpamAssassin-3.1.8 ====================================================================== ---------------------------------------------------------------------- aaron - 22-Feb-07 17:08 ---------------------------------------------------------------------- Line 38 of the log file doesn't look good: Feb 22 11:12:48 NBMS02 dbmail/lmtpd[93842]: Debug:[lmtp] lmtp.c,lmtp(+563): whole message = ---------------------------------------------------------------------- aaron - 22-Feb-07 17:14 ---------------------------------------------------------------------- Line 360 of dbmail-message.c writes the incoming email to a file handle gotten from the tmpfile() call, but does not have any error checking to make sure that the write succeeded (did not return -1) or write enough bytes (not sure how to check, given the code at hand in _set_content_from_stream) http://spruce.sourceforge.net/gmime/doc/gmime-gmime-stream.html#g-mime-stream-write-string ---------------------------------------------------------------------- aaron - 03-Mar-07 18:15 ---------------------------------------------------------------------- Committed a possible fix. It passes all checks, but needs some testing. Please upgrade to dbmail_2_2_branch, if you can. Issue History Date Modified Username Field Change ====================================================================== 22-Feb-07 13:44 Anne New Issue 22-Feb-07 13:44 Anne File Added: maillog 22-Feb-07 17:08 aaron Note Added: 0001831 22-Feb-07 17:14 aaron Note Added: 0001832 03-Mar-07 18:15 aaron Status new => resolved 03-Mar-07 18:15 aaron Fixed in Version => 2.2.4 03-Mar-07 18:15 aaron Resolution open => fixed 03-Mar-07 18:15 aaron Assigned To => aaron 03-Mar-07 18:15 aaron Note Added: 0001854 ====================================================================== _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
