Giuseppe Ghibò wrote: > Yes, in dovecot .subscription is on the MAILSUBDIR directory, > i.e. in the dir specified by mbox:..., while in uw-imap > the .mailboxlist is always in $HOME, whatever path is used > for mailboxes subdir. > > The migration tools should be done using some simple script > to be used in %trigger* section of SPEC file. Such script should > just SCAN /home/<users> for finding .mailboxlist (users who don't > have .mailboxlist in their home don't need changes as they never used IMAP) and move > them > to the appropriate repository. Ditto for the migration script > for imap when "mailsubdir" is changed from '' to 'Mail'. Such script should > just read the .mailboxlist files and move folders listed there from $HOME to > $HOME/Mail. > IMHO they are quite easy/trivial to write.
Lots of servers probably have /home mounted NFS root_squash. Having %post scripts mess around in /home is a *bad* idea.