Hi,

I looked into this, but using 1cc3789d0bf70bb134224612515495294f58f8bd I
can't reproduce this though. Works fine here.

If you install check ( http://check.sourceforge.net/ ) and use
--with-check during configure, you can run the unit-tests included by
doing 'CK_FORK=no make check'

There are quite a lot of unit-tests for deconstructing/recontructing
messages. They must not fail.


On 01/26/2013 08:35 PM, Gennadiy Poryev wrote:
> Hi,
> 
> Only recently we have upgraded from dbmail 2 to 3. Since our setup (dbmail + 
> exim + mysql) is very small, I just recreated the tables in database, no 
> migration. Everything seemed to work ok, until we’ve noticed that messages 
> with big attachments got corrupted on receiving. Not always, but sometimes.
> Not wanting to mess up with production server, I set out to replicate this 
> effect on another machine. So, here’s the story, all relevant files in the 
> archive, link included.
> - Gentoo Linux x64
> - I used git head version of dbmail repository
> - configure command was: ./configure --prefix=/usr --sysconfdir=/etc/dbmail 
> --enable-shared --enable-dependency-tracking --with-sieve=no --with-ldap=no 
> --with-gnu-ld
> - make, make install, config file, etc.
> - Using Microsoft Outlook 2010, I created the email message with 4 arbitrary 
> MS Word files, totaling 1 MByte, got an EML file of it sized 2 Mbytes; inside 
> of it was a single file "winmail.dat", which seems ok as far as Outlook still 
> recognized 4 files in that EML file. 
> - Then I ran the following command to simulate email delivery: 
> /usr/sbin/dbmail-deliver -f ~/dbm/dbmail.conf -u core < bigmail.eml 2> 
> delivery-log.txt
> - Looking at delivery-log.txt I noticed frequent appearance of 
> "db_stmt_set_blob(+435):" with random fragments of mime boundary.
> - Upon receiving this mail via live dbmail-pop3d and MUA, it was corrupted as 
> such: instead of 4 full files there were 17 empty files sized 107 to 137 
> bytes. The corresponding EML is included. Looks quite messy.
> 
> I packed all relevant files in the archive 
> http://www.barvinok.net/xfer/dbmail-problem.zip
> In it, bigmail.eml is the original correct message, cmds.txt are commands 
> used to configure and run dbmail, dbmail.conf is the config, delivery-log.txt 
> is the output of dbmail-deliver, reply.txt is the received corrupted message.
> 
> Quick googling did not reveal mentions of the problem, so I guess it is 
> specific to my setup. But I don't know where to look.
> Your advice will be greatly appreciated.
> 
> // Gennadiy
> 
> _______________________________________________
> DBmail mailing list
> DBmail@dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> 


-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to