Cliff Hayes
2009-Nov-15 23:05 UTC
[Dovecot] FW: Panic: Message unexpectedly expunged from index
Nevermind. I figured it out. I left off the INDEX command. Sorry to spam the mail list :( Here is my mail_location for future reference / searches: mail_location mbox:/var/spool/mail:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u -----Original Message----- From: dovecot-bounces+chayes=afo.net at dovecot.org [mailto:dovecot-bounces+chayes=afo.net at dovecot.org]On Behalf Of Cliff Hayes Sent: Sunday, November 15, 2009 4:02 PM To: dovecot at dovecot.org Subject: [Dovecot] Panic: Message unexpectedly expunged from index Hello, I just installed Fedora 11 with Dovecot 1.2.6 and am now seeing a steady stream of these in maillog: Nov 15 15:52:03 sendmail dovecot: POP3(<username>): Panic: Message unexpectedly expunged from index Nov 15 15:52:03 sendmail dovecot: POP3(<username>): Raw backtrace: pop3 [0x4930ab] -> pop3 [0x493123] -> pop3 [0x4927b6] -> pop3 [0x43ddd4] -> pop3 [0x43de84] -> pop3(index_mail_set_seq+0x146) [0x449c16] -> pop3 [0x43e129] -> pop3(index_storage_search_next_nonblock+0x141) [0x44d5c1] -> pop3(mailbox_search_next_nonblock+0x20) [0x45b580] -> pop3(mailbox_search_next+0x26) [0x45b5d6] -> pop3 [0x419ef9] -> pop3(client_command_execute+0x666) [0x41abd6] -> pop3(client_handle_input+0x80) [0x418f80] -> pop3(io_loop_handler_run+0xbd) [0x49b02d] -> pop3(io_loop_run+0x18) [0x49a498] -> pop3(main+0x526) [0x41b286] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x3a9b61ea2d] -> pop3 [0x418809] Nov 15 15:52:03 sendmail dovecot: dovecot: child 26792 (pop3) killed with signal 6 (core dumps disabled) I see nothing about this in the mail archives or on the internet! What could be happening and how do I fix? I'm also seeing lots of these: Nov 15 11:26:24 sendmail dovecot: POP3(<username>): Log synchronization error at seq=12646,offset=172 for /var/spool/mail/.imap/INBOX/dovecot.index: Extension introduction for unknown id 1 Nov 15 11:26:24 sendmail dovecot: POP3(<username>): fscking index file /var/spool/mail/.imap/INBOX/dovecot.index Here are the only things I messed with in dovecot.conf: protocols = pop3 mail_location = mbox:/var/spool/mail:INBOX=/var/spool/mail/%u mbox_very_dirty_syncs = yes Thanks in advance, Cliff
Timo Sirainen
2009-Nov-16 18:04 UTC
[Dovecot] FW: Panic: Message unexpectedly expunged from index
On Sun, 2009-11-15 at 17:05 -0600, Cliff Hayes wrote:> Nevermind. I figured it out. I left off the INDEX command. Sorry to spam > the mail list :( > > Here is my mail_location for future reference / searches: > > mail_location > mbox:/var/spool/mail:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%uYou shouldn't use /var/spool/mail as the mail root anyway. I suppose you're using only POP3, but if you ever happen to (even accidentally) enable IMAP access the above configuration may give access to other users' mails (although I suppose the filesystem permissions will prevent that if you're using system users). In any case, I'd suggest something like: mbox:/var/empty:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091116/874ba8f8/attachment-0002.bin>
Cliff Hayes
2009-Nov-16 22:44 UTC
[Dovecot] FW: Panic: Message unexpectedly expunged from index
Would it be better to just drop the mbox part? Like this: mail_location = INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u -----Original Message----- From: dovecot-bounces+chayes=afo.net at dovecot.org [mailto:dovecot-bounces+chayes=afo.net at dovecot.org]On Behalf Of Timo Sirainen Sent: Monday, November 16, 2009 12:04 PM To: Cliff Hayes Cc: dovecot at dovecot.org Subject: Re: [Dovecot] FW: Panic: Message unexpectedly expunged from index On Sun, 2009-11-15 at 17:05 -0600, Cliff Hayes wrote:> Nevermind. I figured it out. I left off the INDEX command. Sorry to spam > the mail list :( > > Here is my mail_location for future reference / searches: > > mail_location > mbox:/var/spool/mail:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%uYou shouldn't use /var/spool/mail as the mail root anyway. I suppose you're using only POP3, but if you ever happen to (even accidentally) enable IMAP access the above configuration may give access to other users' mails (although I suppose the filesystem permissions will prevent that if you're using system users). In any case, I'd suggest something like: mbox:/var/empty:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u