Am 13.06.2013 03:56, schrieb Timo Sirainen:
On Wed, 2013-06-12 at 19:51 +0000, Bernhard Schmidt wrote:
Debian Wheezy amd64 plus Stefan's stable-auto/dovecot2.2 repository 2:2.2.2-0~auto+57 = 16495:d447dcc6b611
Crash goes away when I disable mail_attachment_dir, happens with a fresh home as well .. Jun 12 21:46:23 lxmhs69 dovecot: lmtp(20120, ext44903@mstoretest.mail.xxx.de): Panic: file istream.c: line 163 (i_stream_read): assertion failed: (old_size == _stream->pos - _stream->skip)
Can you easily reproduce this? Does it happen with all mails? Only mails that contain attachments? Only one specific mail? I couldn't reproduce with a couple of tests.
I can reproduce with mails with a random attachment > 128k. I'm using smtp-cli to test
dd if=/dev/random of=random1M bs=1M count=1 ./smtp-cli-3.2 --server <serverlist> --from <sender> --to <recipient> --subject Test --attach=random1M
I can send you a sample.
Bernhard