doveadm sync ignores -u option

Aki Tuomi aki.tuomi at dovecot.net
Tue Apr 12 11:37:01 UTC 2016



On 12.04.2016 14:32, ve at vetienne.net wrote:
> 11 avril 2016 14:07 "Max" <order at mxgr.de> a écrit:
>> Hi,
>>
>> Since I upgraded from 2.2.21 to 2.2.23, the user option -u seems to be ignored
>> by doveadm sync, or at least it doesn't handle it correctly.
>>
> I can confirm it breaks replication for me ( multiple user so i have to replicate through ssh  by user root as described in replication wiki page ). No longer work with 2.2.23, reverting to 2.2.22 get it back to a working state
>
> Log filled with :
>
> Apr 12 09:52:03 mailhost dovecot: doveadm: Error: doveadm(root): Error: Invalid settings in userdb: userdb returned 0 as uid
> Apr 12 09:52:03 mailhost dovecot: doveadm: Error: doveadm(root): Error: User lookup failed: Invalid user settings. Refer to server log for more information.
>
> Regards
>
> Vincent  ETIENNE

Hi all!

We are aware of this bug and it has already been fixed in master, 
https://github.com/dovecot/core/commit/9ba5c4965ca244efeeb525229f1293ef52a4bf3a 
and will be included in next release.

In the mean time you have to use USER environment variable as 
workaround. Very sorry about this.

Aki


More information about the dovecot mailing list