[Dovecot] dsync replication available for testing

Michael Grimm trashcan at odo.in-berlin.de
Sat Aug 25 19:09:59 EEST 2012


On 23.08.2012, at 22:01, Timo Sirainen wrote:
> On 19.8.2012, at 12.51, Michael Grimm wrote:

>>>> 1) I see a lot of error messages whenever replicator is in action like (although everything is being synced correctly):
>>>> 
>>>>  | <mail.err> mail dovecot: dsync-local(test): Error: remote: dsync-remote(test): Info: save: box=INBOX, uid=27, msgid=<3V2JfH5Kv4z7Ft at example.tld>, size=547, from=test at example.tld (admin), flags=()
>>>> 
>>>>  | <mail.info> mail dovecot: dsync-local(test): Error: remote: dsync-remote(test): Info: flag_change: box=TEST, uid=27568, msgid=<20120307144810.6360A74F013 at example.tld>, size=435, from=test at example.tld, flags=(\Seen)
>>>> 
>>>>  JFTR: I do have mail_log plugin activated.
>>> 
>>> Hmm. Right. I guess all the logging should go to the log files instead of via the ssh pipe. Of course that would also require that dsync has write access to your log files.
>> 
>> 
>> I'd like to come back to this old thread: What would one need to do to get rid of these lines from mail_log plugin?
> 
> 
> Not enable mail_log for doveadm:
> 
> protocol !doveadm {
>  mail_plugins = $mail_plugins = mail_log
> }

JFTR: That didn't work.

> or alternatively override it only for the dsync command with doveadm -o mail_plugins=...


But, a ...

	dsync_remote_cmd = ssh -l%{login} %{host} doveadm -o mail_plugins= dsync-server -u%u -l%{lock_timeout} -n%{namespace}

... did omit those error messages successfully.

Thanks and regards,
Michael



More information about the dovecot mailing list