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

Cliff Hayes chayes at afo.net
Tue Nov 17 00:44:42 EET 2009


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




More information about the dovecot mailing list