[Dovecot] OT: best way to move maildirs to another host ?

Andrew Richards ar-dovecot at nwdb.co.uk
Fri Aug 18 12:00:42 EEST 2006

On Friday 18 August 2006 09:27, Brice Figureau wrote:
> ...
> Next, from what I remember about maildir, the message names usually 
> contain the inode so that the file name is unique. If I strictly
> move the files, I can be sure that the moved files won't have the
> same inodes number as what is in the name.
> Should I care ?
> ...


Re. inode numbers: Checkout the spec on,
Your filenames should therefore be of the form,
where 'something' _may_ include the inode number (depends on your 
delivery mechanism). This is only meaningful insofar as it makes the 
filename unique - the host and timestamp fields also contribute to 
the uniqueness. When you move your messages, the timestamp will be 
'in the past' for the new server, so even if you were to duplicate an 
inode number, the timestamp would still ensure uniqueness.



More information about the dovecot mailing list