[Dovecot] Solved: Rebuild folder listing?

Roderick A. Anderson raanders at acm.org
Mon Feb 9 19:14:58 EET 2009


Roderick A. Anderson wrote:
> I don't know what to call what I'm trying to do so I'll explain the 
> situation.

It was the typical case of too many things going on at the same time and 
me in a full-bore-linear-panic over the crashed mail server.

The biggies were:

1) The vmail account created with the wrong UID/GID for the 
configuration, and
2) permissions on everything wrong after updating vmail's UID/GID.

This all came about because I kept flipping between a mostly working 
test system, the system I was trying to get up, and the crashed system's 
  files that got their UIDs/GIDs changed while copying them around.

Thanks to you all for the suggestions (clue-sticks?).


Rod
-- 
> I had a total complete crash of the Linux-Vserver system that was 
> hosting a Postfix+Dovecot guest with a three domains and 1-5 accounts 
> per domain.  Lots of mail though.
> 
> Before it completely melted down I as able to get to the data (messages) 
> and save them and the configuration files for both Dovecot and Postfix.
> 
> I now have a replacement system up and running and have copied the 
> directories onto it.  I can log in to the accounts but I don't see the 
> folders (I use Thunderbird as a MUA).  Attempts to "subscribe" and 
> "refresh" the list give me no results.  No list of folders.
> 
> What should I do?
> 
> I'm thinking I could delete the dovecot files:
> 
>    dovecot.index,
>    dovecot.index.cache,
>    dovecot.index.log,
>    dovecot-uidlist,
>    subscriptions,
>    and while I'm at it possibly dovecot-keywords.
> 
> Then access the account(s) and Dovecot will rebuild them with the 
> true/correct information.
> 
> Am I heading anywhere near the right direction?
> 
> 
> TIA,
> Rod



More information about the dovecot mailing list