[Dovecot] sdbox to mdbox

Henrique Fernandes sf.rique at gmail.com
Mon Jan 3 04:13:20 EET 2011


Can you email the output of

# dovecont -n

and

# dsync -D ( rest of your comand )

Rememer, first dsync does not need to edit anyconf on dovecot!



[]'sf.rique


On Thu, Dec 30, 2010 at 2:34 PM, Joan Moreau <jom at grosjo.net> wrote:

>
>
> Actually, the directory created by dsync contains correctly all the
> folders of the original IMAP account.
>
> but they are empty ! (just one
> file "dovecot.index.log" )
>
> What do I do wrong ?
>
> Thanks again
>
> On
> Fri, 24 Dec 2010 17:57:35 -0600, Stan Hoeppner wrote:
>
> > Joan Moreau
> put forth on 12/24/2010 5:41 PM:
> >
> >> 1 - plan to have all the new
> emails in a different folder (say "/data/mail2" ) 2 - make a script that
> go through all users & domains 3 - for each user (and therefore dbox
> folder), run "dsync -o mail_location=sdbox:/data/mail/%d/%n mirror
> mdbox:/data/mail2/%d/%n" (where %d and %n are updated correctly for each
> user) 4 - move /data/mail to /data/mailold and move /data/mail2
> /data/mail
> > You don't have to move the mail "back".
> >
> >> 5 - update
> dovecot.conf with "mail_location = mdbox:/data/mail/%d/%n"
> > Simply
> change the mail location to the new directory in dovecot.conf. After
> you've confirmed all the users' mail is safely in the new location you
> can delete all the old mail folders/structure.
>


More information about the dovecot mailing list