Keep two IMAP servers in Sync
Longman
clug at gasops.co.uk
Thu Nov 6 18:01:27 CET 2008
* Paul Oldham wrote:
> On Thu, November 6, 2008 16:52, Longman said:
>
>> * Paul Oldham wrote:
>>> Which IMAP server are you using? For example rsync won't work so well
>>> with Cyrus if the server is running at the same time but should with
>>> Courier ...
>> Courier-IMAP 1.6.0
>
> Well in that case rsync is a valid solution as Courier uses and extended
> version of Maildir - so it's all just files and directories, no fancy
> database like Cyrus.
>
> Having said that having just read the imapsync man page that seems like an
> equally valid solution so it probably depends what you're used to: if you
> already know rsync use that. But it is a bit fiddly to set up so if you're
> starting from scratch you might as well go for imapsync and that's
> probably slightly more robust.
Well I already quite familiar with rsync using it extensively for
various backup and transaction shipping type shenanigans -- great tool.
I was more worried about what would happen if I try and rsync an active
system where files are changing constantly. I can try a cron job at 4am
or something but I don't want to copy any files that are in an
invalid/incomplete state and end up with an unusable IMAP Maildir at the
other end.
More information about the CLUG
mailing list