[Gllug] Rsync dovecot Maildir directories

Michael-John Turner mj at mjturner.net
Tue Apr 6 10:23:02 UTC 2010


On Tue, Apr 06, 2010 at 03:47:57AM +0100, gvim wrote:
> For years all my mail has been kept in Thunderbird's default mbox format
> but I've been uneasy about it for a while and recently copied everything
> into Maildir folders using Dovecot IMAP. The thing is I'm now wondering
> what the implications are for rsync-ing to my laptop for weekends away.
> I've been using a simple rsync one-liner to update my Thunderbird profile
> on the laptop but I've noticed the names of the individual mail files
> within the Maildir folder include the local machine name. This could have
> implications for rsync-ing the Mailldir folder I imagine and also for any
> messages sent/received while using the laptop as they will include a
> different machine name. Can the Dovecot Maildir folder cope with multiple
> sources/machine names. I don't know enough about how the Dovecot mapping
> files within the Maildir folder work to take the risk at this stage.

Having multiple machine names in the Maildir filenames shouldn't pose a
problem for Dovecot - I've migrated mail from one Dovecot server to another
without problem.

An alternative solution is to run an IMAP server on your laptop and
synchronise that with your main IMAP server using imapsync[1].

[1] http://freshmeat.net/projects/imapsync/

-mj
-- 
 Michael-John Turner
 mj at mjturner.net      <>     http://mjturner.net/
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list