Hello Gerald,
Besides you have configured mysql userdb twice:
userdb {
args = /etc/dovecot/dovecot-sql-master.conf.ext
driver = sql
}
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
Great!!! This was the root cause. Second userdb with
dovecot-sql-master.conf rewrite the first one, but sql-master.conf
didn't include iterate_query. I removed the wrong second declaration.
Thanks.
What about automatic replication without manually running of doveadm
sync?
As I can see nothing happens automatically.
But mx2:~# doveadm -D sync -u ab...@example.com -d -N -l 30 -U
successfully executed and getting mails from mx1.
Regards,
Alexey