[Dovecot] dsync replication errors
Oli Schacher
dovecot at lists.wgwh.ch
Thu Jan 31 15:10:18 EET 2013
> > I tried with mdbox now.. same problem, although I don't see
> > "Expunged message reappeared" anymore , but still tons of these:
> >
> > Server1:
> > Jan 31 13:38:05 doco1 dovecot: doveadm: Error: dsync-remote(user1):
> > Error: Mailbox INBOX: Remote didn't send mail
> > GUID=caec8e2a84650a5181070000960042f4 (UID=136)
>
> But there's no duplication now and it gets fixed eventually, right?
>
there's still duplication and it doesn't seem to get fixed (I have to
kill dovecot eventually to make sure my disk doesn't get filled)
> And you can easily reproduce this by simply copying 100 mails from
> one folder to another? I'll see if I can reproduce.
>
yes. these are the steps to reproduce:
start with a empty /mailstore on both server1 and server2
(configuration in dovecot-sql.conf: SELECT '/mailstore/%u' as home,
'mdbox:/mailstore/%u/mdbox' as mail, 500 as uid, 500 as gid FROM users
WHERE username = '%u' )
start dovecot on server1
result: obviously, dovecot complains that the initial sync can't start
since server2 is not yet running, but starts ok
start dovecot on server2
result: all ok, no errors
connect thunderbird to account user1 on server1
result: login ok, mdbox visible on disk, 0 messages
in thunderbird copy exactly 100 messages from a spambox to user1's
inbox on server1
result:
maillog errors start popping up after a few seconds, message count
in thunderbird goes way beyond 100
wait about 30 sec
result:
>10'000 messages in both boxes
Let me know if you need more info. And thanks for looking into this!
--
message transmitted on 100% recycled electrons
More information about the dovecot
mailing list