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

Cliff Hayes chayes at afo.net
Tue Nov 17 03:19:06 EET 2009


Ok, I did as you suggested.  It worked.  Wish I knew why.  Would you happen to have a link to a basic explanation of the mail_location parameter?  I looked in the wiki and I'm obviously missing some fundamental knowledge which the wiki builds on.

Thanks :)

-----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 6:04 PM
To: Cliff Hayes
Cc: Dovecot Mailing List
Subject: Re: [Dovecot] FW: Panic: Message unexpectedly expunged from
index


Well, that just wouldn't work. And I don't think I really even want to
make it work.

On Mon, 2009-11-16 at 16:44 -0600, Cliff Hayes wrote:
> 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