Tan Shao Yi
2007-Feb-07 00:38 UTC
[Dovecot] imap crashes on deleting an e-mail with no message-id.
Hi, I'm on RC21 on a Solaris 10 SPARC box. Somehow I managed to receive an e-mail with no message-id and when dovecot tries to delete the e-mail. Viewing the e-mail is not a problem though. I attached truss to the imap process and this was what I received: pollsys(0x000B7A88, 3, 0xFFBFF870, 0x00000000) = 0 pollsys(0x000B7A88, 3, 0xFFBFF870, 0x00000000) = 0 pollsys(0x000B7A88, 3, 0xFFBFF870, 0x00000000) (sleeping...) pollsys(0x000B7A88, 3, 0xFFBFF870, 0x00000000) = 1 read(0, " g 1 b q U I D S T O".., 3747) = 52 alarm(120) = 0 fcntl(6, F_SETLKW64, 0xFFBFF1D0) = 0 alarm(0) = 120 close(8) = 0 open64("/maildirs/tansy/Maildir/maildirsize", O_RDWR|O_APPEND) = 8 read(8, " 1 0 7 3 7 4 1 8 2 4 0 S".., 5120) = 2223 read(8, 0xFFBFE8DF, 2897) = 0 Incurred fault #6, FLTBOUNDS %pc = 0x00086FF8 siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 I believe it's due to the mail_log plugin that is logging the message-ids being deleted. When I disabled the mail_log plugin, the e-mail gets deleted correctly. Timo, do you think we can have mail_log to handle such exceptions? :) Thanking in advance. Cheers, Tan Shao Yi
Timo Sirainen
2007-Feb-07 01:44 UTC
[Dovecot] imap crashes on deleting an e-mail with no message-id.
On 7.2.2007, at 2.38, Tan Shao Yi wrote:> Somehow I managed to receive an e-mail with no message-id and when > dovecot tries to delete the e-mail. Viewing the e-mail is not a > problem though.So it seems. This doesn't happen with Linux though. Anyway, fixed: http://dovecot.org/list/dovecot-cvs/2007-February/007633.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070207/01ec1ce0/attachment.bin>