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

Geert Hendrickx ghen at telenet.be
Fri Aug 18 12:17:39 EEST 2006

On Fri, Aug 18, 2006 at 10:00:42AM +0100, Andrew Richards wrote:
> 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 ?
> > ...
> No.
> Re. inode numbers: Checkout the spec on,
>    http://cr.yp.to/proto/maildir.html
> Your filenames should therefore be of the form,
>    time.something.host
> 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.

And the hostname would be different. :-)  


More information about the dovecot mailing list