Quoting Steffen Kaiser <skdove...@smail.inf.fh-brs.de>:

On Tue, 26 Aug 2014, Michael wrote:

I'm planning to move all mailboxes from a Dovecot 2.2.10 server to a
Dovecot 2.2.9 server. Dovecot is serving virtual users only.

you downgrade?

Yes, because I'm switching from CentOS 6.5 to Ubuntu 14.04. On the CentOS system I used the ATrpms repo. For Ubuntu I did not find any appropriate 3rd party repo. So I'm going to use the standard repo.

I'm not sure if I can use dsync for that. According to the Wiki [1] the
command to mirror my own mailbox should look like

do you change the storage as well? Or: why not transfer the mailboxes,
ACLs, scripts etc.pp. on file system level, e.g. using rsync?

On the new server I also changed some paths. For example the mail_location is not in the users home folder, but in an sub folder like it is suggested by the Dovecot wiki. I also changed the location for the sieve scripts. So I thought it might be easier to just let a tool like dsync transfer everything.

What I changed between these two systems is:

Old:
mail_location = maildir:/var/mail/vhosts/%d/%n
New:
mail_location = maildir:/var/vmail/%d/%n/maildir

Old:
sieve = /var/mail/vhosts/sieve-scripts/%d/%n/.dovecot.sieve
sieve_before = /var/mail/vhosts/sieve-scripts/before
sieve_dir = /var/mail/vhosts/sieve-scripts/%d/%n/sieve
New:
sieve = /var/vmail/%d/%n/sieve-scripts/.dovecot.sieve
sieve_before = /var/vmail/sieve-scripts/before
sieve_dir = /var/vmail/%d/%n/sieve-scripts/sieve


Michael

Reply via email to