[Dovecot] Same filenames on different servers?
Geert Hendrickx
ghen at telenet.be
Mon Jan 11 15:17:10 EET 2010
On Mon, Jan 11, 2010 at 02:18:07PM +0200, Alexander Chekalin wrote:
> Oh, I finally find out the problem. If Dovecot see in the IMAP mailbox
> two message files named equally (say in cur/ and new/ dirs) it renames
> one of them into new name dispute this is the same message.
>
> I'm not sure if this is intended behaviour. It is quite easy to see such
> situation when doing periodical rsync (SMTP put message to new/ dir, then
> rsync copy it to second server, then message on the first server move to
> cur/, and second rsync results in two files on second server).
>
> It there any workaround?
You could use imapsync instead: http://www.linux-france.org/prj/imapsync/
It synchronizes two IMAP mailboxes (including message flags etc) independent
of the underlying implementation.
Geert
--
Geert Hendrickx -=- ghen at telenet.be -=- PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!
More information about the dovecot
mailing list