[Dovecot] dsync: Invalid mailbox first_recent_uid
For the life of me I can't get dsync to work. Please help!
Remote server runs dovecot out of /usr/local/dovecot2. Everything makes sense until this line:
dsync-local(djonas@vitalwerks.com): Error: Invalid mailbox input from worker server: Invalid mailbox first_recent_uid
The local uid is 8989 and the remote uid is 89. I added "first_valid_uid = 89" to the local conf but to no avail. Local version is 2.0.12, remote is 2.0.1.
# dsync -Dv -u djonas@vitalwerks.com mirror
ssh vmail@192.168.15.54
/usr/local/dovecot2/bin/dsync -Dv -u djonas@vitalwerks.com
dsync(vmail): Debug: Effective uid=8989, gid=8989, home=/home/vmail/domains/vitalwerks.com/djonas dsync(vmail): Debug: Quota root: name=user backend=dict args=vitalwerks.com-djonas:proxy::quota dsync(vmail): Debug: dict quota: user=vitalwerks.com-djonas, uri=proxy::quota, noenforcing=0 dsync(vmail): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir:INBOX=~/Maildir dsync(vmail): Debug: maildir++: root=/home/vmail/domains/vitalwerks.com/djonas/Maildir, index=, control=, inbox=/home/vmail/domains/vitalwerks.com/djonas/Maildir dsync-local(djonas@vitalwerks.com): Debug: Namespace : Using permissions from /home/vmail/domains/vitalwerks.com/djonas/Maildir: mode=0770 gid=-1 dsync-local(djonas@vitalwerks.com): Error: Invalid mailbox input from worker server: Invalid mailbox first_recent_uid dsync-remote(djonas@vitalwerks.com): Error: read() from proxy client failed: EOF
On Thu, 2011-05-26 at 23:25 -0700, David Jonas wrote:
dsync-local(djonas@vitalwerks.com): Error: Invalid mailbox input from worker server: Invalid mailbox first_recent_uid
The local uid is 8989 and the remote uid is 89. I added "first_valid_uid = 89" to the local conf but to no avail. Local version is 2.0.12, remote is 2.0.1.
That's actually the problem. They talk slightly different protocols.. I guess I should have added a version number to the protocol. Although even then you would have only gotten "protocol version mismatch" error.
You could simply copy v2.0.12's dsync to the remote server and it should work fine, as long as you're not using any plugins.
On Thu, 2011-05-26 at 23:25 -0700, David Jonas wrote:
dsync-local(djonas@vitalwerks.com): Error: Invalid mailbox input from worker server: Invalid mailbox first_recent_uid
The local uid is 8989 and the remote uid is 89. I added "first_valid_uid = 89" to the local conf but to no avail. Local version is 2.0.12, remote is 2.0.1. That's actually the problem. They talk slightly different protocols.. I guess I should have added a version number to the protocol. Although even then you would have only gotten "protocol version mismatch" error. I had no idea that would be an issue. A protocol version mismatch error actually would have helped me figure it out without bugging you on the
On 6/3/11 7:25 AM, Timo Sirainen wrote: list. I upgraded the remote server to 2.0.12 and had no problems with the sync.
You could simply copy v2.0.12's dsync to the remote server and it should work fine, as long as you're not using any plugins.
Thanks!
participants (2)
-
David Jonas
-
Timo Sirainen