Move a mailbox with renm

Ken Murchison murch at andrew.cmu.edu
Tue Dec 18 06:53:26 EST 2007


Giuseppe Ravasio wrote:
> Hi, 
> i need to move a big mailbox (about 20GB) to a new partition. Obiouvsly the 
> idea is doing something like:
> cyradm> renm big/mailbox big/mailbox newpartition
> 
> I think that the system will need about half an hour to move mailbox files to 
> the new location (another disk), i would like to know what will happen if in 
> the meantime someone sends an email to this mailbox?!?!
> Will this lock LMTP deliver? Will this generate some corruption?
> Do you suggest me to put the server offline as a precaution?

The mailbox will be locked and lmtpd will return a temporary failure to 
your MTA, which should then queue the message for redelivery.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list