[Dovecot] FW: Panic: Message unexpectedly expunged from index

Timo Sirainen tss at iki.fi
Mon Nov 16 20:04:28 EET 2009


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/%u

You 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: not available
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.bin 


More information about the dovecot mailing list