Hi all,
I have set up a postfix+dovecot mail server that stores all the mails
under /home mountpoint, and that has been working for half a year. Now I have
bought a new disk and I'd like to move all the existing mail to this new
location. How should I do it, without stopping the postfix service?
I have figured out a strategy:
a) ask postfix to hold every incoming mail in its queue
(postsuper -h ALL)
b) stop dovecot service
c) move the mail folder into its new location
d) update folder locations for postfix and dovecot
e) restart service dovecot, reload postix config and deliver
enqueued mails (postsuper -r ALL)
Do you think it can work?
Regards,
Felix