Replication Error - Trying to Interate Users

Aki Tuomi
Tue, 11 Dec 2018 07:15:07 -0000

On 11.12.2018 9.13, Antonino Sidoti wrote:
> HI,
>
> My first post to this list;
>
> I am trying to configure replication between two host, both hosts are
> having the same errors. Using ?dovecot log errors? gives the following
> errors;
>
> Dec 11 18:05:12 Error: auth: Trying to iterate users, but userdbs
> don't support it (created 0 msecs ago, handshake 0 msecs ago)
> Dec 11 18:05:12 Error: replicator: User listing returned failure
> Dec 11 18:05:12 Error: replicator: listing users failed, can't
> replicate existing data
>
> My version of Dovecot version =?2.2.36
>
> My?Configuration is attached.
>
>
>
> Any help is greatly appreciated. Thanks


Static userdb cannot be used for iteration, use


userdb? {

? driver = passwd-file

? args = /etc/mail/passwd

}


and configure

mail_home=/var/mail/%d/%n

mail_uid=vmail

mail_gid=vmail


Aki