Have you brought this up on the Dovecot mailing list?
In don't wonder if it doesn't have something to do with our vpopmail
backend.
On 12/7/2016 3:18 PM, Havrla wrote:
Hi,
It would be a demand for such a configuration?
What it brings good:
Dovecot-based replication, including replication id messages.
After switching to the backup server accepts the message ID is then
not problem with IMAP and POP3 (re-download all the messages, the
problem with indexes etc ..)
What it wants:
1. Dovecot configuration - user and passwd SQL backend module
2. Vpopmail doing what domain's table. SQL module wants everything in
one table, it will have to make a special database or table where
everything will be. About using shovels (select tables exist and save
a single table)
3. Configure the replication in Dovecot
Why? Because:
https://www.darkalchemist.co.uk/2014/05/31/dovecot-dsync-replication/
"doveadm user '*' "should return a sheet of all the users dovecot hosts.
configure as |iterate_query = SELECT email as user FROM mail_user
|Module vpopmail in dovecot not function for all users, module no SQL:
[root@franta ~]# doveadm user '*'
Error: User listing returned failure
Fatal: user listing failed
[root@franta ~]# doveadm user [email protected]
field value
uid 89
gid 89
home /home/vpopmail/domains/havrlik.cz/zdenek
mail
Perhaps, otherwise specify a list of users. SQL only select
"iterate_query" not passwd and user.
Shall I try it ?
Havrla
Dne 2.12.2016 v 23:56 Eric Broch napsal(a):
I've looked at it but never tried any implementation. I use rsync.
On 12/2/2016 3:20 PM, Havrla wrote:
Heloo
Has anyone tried the configuration, see:
http://dovecot.org/list/dovecot/2012-March/134390.html
http://blog.schaal-24.de/ispconfig/mails-mit-dovecot-ueber-tcp-syncen/?lang=en
http://blog.le-vert.net/?p=160
https://www.adyxax.org/MailInfrastructure/Dovecot
https://www.darkalchemist.co.uk/2014/05/31/dovecot-dsync-replication/
Replication qmailtoaster server without unison for mailbox/imap accout.
It works ?
Thanks
Havrla