[Dovecot] dsync, a zero-way synchronisation tool?

Fabiano Sidler fabianosidler at swissonline.ch
Fri Feb 21 22:40:09 UTC 2014


Hi folks!

I have set up dsync replication with SSH according to
http://wiki2.dovecot.org/Replication with the exception of having system users
and calling doveadm dsync-server directly from authorized_keys, because the
wrapper script posted on the above site is needless (at least in 2.2.10).

However, while the two instances connect well to each other, no synchronisation
is performed at all, the mailboxes happily remain untouched. I've then
temporarily replaced SSH with socat and captured the traffic.

Any hints what goes wrong? Unfortunately there are no logs to provide...

Greetings,
Fabiano
-------------- next part --------------
VERSION	dsync	3	2
Hhostname	sync_ns_prefix	sync_box	sync_box_guid	sync_type	debug	sync_visible_namespaces	exclude_mailboxes	send_mail_requests	backup_send	backup_recv	lock_timeout	no_mail_sync	no_backup_overwrite	purge_remote
Smailbox_guid	last_uidvalidity	last_common_uid	last_common_modseq	last_common_pvt_modseq	changes_during_sync
Nname	existence	mailbox_guid	uid_validity	uid_next	last_renamed_or_created	subscribed	last_subscription_change
Dhierarchy_sep	mailboxes	dirs	unsubscribes
Bmailbox_guid	uid_validity	uid_next	messages_count	first_recent_uid	highest_modseq	highest_pvt_modseq	mailbox_lost	cache_fields	have_guids	have_save_guids	have_only_guid128
Atype	key	value	stream	deleted	last_change	modseq
Ctype	uid	guid	hdr_hash	modseq	pvt_modseq	save_timestamp	add_flags	remove_flags	final_flags	keywords_reset	keyword_changes
Rguid	uid
Mguid	uid	pop3_uidl	pop3_order	received_date	stream
cname	decision	last_used
.
VERSION	dsync	3	2
Hhostname	sync_ns_prefix	sync_box	sync_box_guid	sync_type	debug	sync_visible_namespaces	exclude_mailboxes	send_mail_requests	backup_send	backup_recv	lock_timeout	no_mail_sync	no_backup_overwrite	purge_remote
Smailbox_guid	last_uidvalidity	last_common_uid	last_common_modseq	last_common_pvt_modseq	changes_during_sync
Nname	existence	mailbox_guid	uid_validity	uid_next	last_renamed_or_created	subscribed	last_subscription_change
Dhierarchy_sep	mailboxes	dirs	unsubscribes
Bmailbox_guid	uid_validity	uid_next	messages_count	first_recent_uid	highest_modseq	highest_pvt_modseq	mailbox_lost	cache_fields	have_guids	have_save_guids	have_only_guid128
Atype	key	value	stream	deleted	last_change	modseq
Ctype	uid	guid	hdr_hash	modseq	pvt_modseq	save_timestamp	add_flags	remove_flags	final_flags	keywords_reset	keyword_changes
Rguid	uid
Mguid	uid	pop3_uidl	pop3_order	received_date	stream
cname	decision	last_used
.
Hmail1.example.org				c				
Hmail2.example.org
NINBOX	y	9c788533a3760253b9750000879d8c25	1392670371	29
NTrash	y	7888b4327f930253627d0000879d8c25	1392670372	1			1392675836
.
D.
NINBOX	y	9c788533a3760253b9750000879d8c25	1392670371	29
NTrash	y	7888b4327f930253627d0000879d8c25	1392670372	1			1392677757
.
D.
B9c788533a3760253b9750000879d8c25	1392670371	29	28	29	7	0		flagstyt1392926317ndate.receivedttt1392927996ndate.savettt1392927888nsize.virtualtyt1392926317nsize.physicaltyt1392926317nmime.partsttt1392843172nhdr.BCCttt1392926317nhdr.CCttt1392926317nhdr.CONTENT-TYPEttt1392926317nhdr.DATEttt1392926317nhdr.FROMttt1392926317nhdr.IN-REPLY-TOttt1392926317nhdr.MESSAGE-IDttt1392926317nhdr.NEWSGROUPSttt1392926317nhdr.PRIORITYttt1392926317nhdr.REFERENCESttt1392926317nhdr.REPLY-TOttt1392926317nhdr.SUBJECTttt1392926317nhdr.TOttt1392926317nhdr.X-PRIORITYttt1392926317		
B9c788533a3760253b9750000879d8c25	1392670371	29	28	29	7	0		flagstyt1392926317ndate.receivedttt1392927996ndate.savettt1392927888nsize.virtualtyt1392926317nsize.physicaltyt1392926317nmime.partsttt1392843172nhdr.Datettt1392926317nhdr.BCCttt1392926317nhdr.CCttt1392926317nhdr.CONTENT-TYPEttt1392926317nhdr.FROMttt1392926317nhdr.IN-REPLY-TOttt1392926317nhdr.MESSAGE-IDttt1392926317nhdr.NEWSGROUPSttt1392926317nhdr.PRIORITYttt1392926317nhdr.REFERENCESttt1392926317nhdr.REPLY-TOttt1392926317nhdr.SUBJECTttt1392926317nhdr.TOttt1392926317nhdr.X-PRIORITYttt1392926317		
B7888b4327f930253627d0000879d8c25	1392670372	1	0	1	1	0		flagstt		
B7888b4327f930253627d0000879d8c25	1392670372	1	0	1	1	0		flagstt		
.
X
X
-------------- next part --------------
VERSION	dsync	3	2
Hhostname	sync_ns_prefix	sync_box	sync_box_guid	sync_type	debug	sync_visible_namespaces	exclude_mailboxes	send_mail_requests	backup_send	backup_recv	lock_timeout	no_mail_sync	no_backup_overwrite	purge_remote
Smailbox_guid	last_uidvalidity	last_common_uid	last_common_modseq	last_common_pvt_modseq	changes_during_sync
Nname	existence	mailbox_guid	uid_validity	uid_next	last_renamed_or_created	subscribed	last_subscription_change
Dhierarchy_sep	mailboxes	dirs	unsubscribes
Bmailbox_guid	uid_validity	uid_next	messages_count	first_recent_uid	highest_modseq	highest_pvt_modseq	mailbox_lost	cache_fields	have_guids	have_save_guids	have_only_guid128
Atype	key	value	stream	deleted	last_change	modseq
Ctype	uid	guid	hdr_hash	modseq	pvt_modseq	save_timestamp	add_flags	remove_flags	final_flags	keywords_reset	keyword_changes
Rguid	uid
Mguid	uid	pop3_uidl	pop3_order	received_date	stream
cname	decision	last_used
.
Hmail2.example.org				c				
VERSION	dsync	3	2
Hhostname	sync_ns_prefix	sync_box	sync_box_guid	sync_type	debug	sync_visible_namespaces	exclude_mailboxes	send_mail_requests	backup_send	backup_recv	lock_timeout	no_mail_sync	no_backup_overwrite	purge_remote
Smailbox_guid	last_uidvalidity	last_common_uid	last_common_modseq	last_common_pvt_modseq	changes_during_sync
Nname	existence	mailbox_guid	uid_validity	uid_next	last_renamed_or_created	subscribed	last_subscription_change
Dhierarchy_sep	mailboxes	dirs	unsubscribes
Bmailbox_guid	uid_validity	uid_next	messages_count	first_recent_uid	highest_modseq	highest_pvt_modseq	mailbox_lost	cache_fields	have_guids	have_save_guids	have_only_guid128
Atype	key	value	stream	deleted	last_change	modseq
Ctype	uid	guid	hdr_hash	modseq	pvt_modseq	save_timestamp	add_flags	remove_flags	final_flags	keywords_reset	keyword_changes
Rguid	uid
Mguid	uid	pop3_uidl	pop3_order	received_date	stream
cname	decision	last_used
.
Hmail1.example.org
NINBOX	y	c04dac12c0760253f16f000014dc9113	1392670400	26
NTrash	y	8dc9d737899302530e77000014dc9113	1392670401	1			1392677772
.
D.
NINBOX	y	c04dac12c0760253f16f000014dc9113	1392670400	26
NTrash	y	8dc9d737899302530e77000014dc9113	1392670401	1			1392676984
.
D.
Bc04dac12c0760253f16f000014dc9113	1392670400	26	25	26	5	0		flagstyt1392916751ndate.receivedttt1392928020ndate.savettt1392921503nsize.virtualtyt1392916750nsize.physicaltyt1392928020nmime.partsttt1392843201nhdr.BCCttt1392916750nhdr.CCttt1392916750nhdr.CONTENT-TYPEttt1392916750nhdr.DATEttt1392916750nhdr.FROMttt1392916750nhdr.IN-REPLY-TOttt1392916750nhdr.MESSAGE-IDttt1392916750nhdr.NEWSGROUPSttt1392916750nhdr.PRIORITYttt1392916750nhdr.REFERENCESttt1392916750nhdr.REPLY-TOttt1392916750nhdr.SUBJECTttt1392916750nhdr.TOttt1392916750nhdr.X-PRIORITYttt1392916750		
Bc04dac12c0760253f16f000014dc9113	1392670400	26	25	26	5	0		flagstyt1392916751ndate.receivedttt1392928020ndate.savettt1392921503nsize.virtualtyt1392916750nsize.physicaltyt1392928020nmime.partsttt1392843201nhdr.Datettt1392916750nhdr.BCCttt1392916750nhdr.CCttt1392916750nhdr.CONTENT-TYPEttt1392916750nhdr.FROMttt1392916750nhdr.IN-REPLY-TOttt1392916750nhdr.MESSAGE-IDttt1392916750nhdr.NEWSGROUPSttt1392916750nhdr.PRIORITYttt1392916750nhdr.REFERENCESttt1392916750nhdr.REPLY-TOttt1392916750nhdr.SUBJECTttt1392916750nhdr.TOttt1392916750nhdr.X-PRIORITYttt1392916750		
B8dc9d737899302530e77000014dc9113	1392670401	1	0	1	1	0		flagstt		
B8dc9d737899302530e77000014dc9113	1392670401	1	0	1	1	0		flagstt		
.
X
X


More information about the dovecot mailing list