master/master replications v. 2.2.32

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

master/master replications v. 2.2.32

Jorge Canto E.
Hi, in the past I set up a master/master replication through TCP using
dovecot 2.2.10 on both servers and everything is running fine, I filter the
users to replicate using the iterate_query on file dovecot-sql.con.ext; now
I want to set up a new replication between two new servers running dovecot
2.2.32 but the replicator service tries to replicate every user on my
database even when the iterate_query is correctly set up and the command
"doveadm user '*' " shows only the  users I want to replicate, I think I am
missing something but I do not know what.

Thank you so much for your help.

Jorge C.
Reply | Threaded
Open this post in threaded view
|

Re: master/master replications v. 2.2.32

Aki Tuomi-2

> On October 23, 2017 at 7:29 PM "Jorge Canto E." <[hidden email]> wrote:
>
>
> Hi, in the past I set up a master/master replication through TCP using
> dovecot 2.2.10 on both servers and everything is running fine, I filter the
> users to replicate using the iterate_query on file dovecot-sql.con.ext; now
> I want to set up a new replication between two new servers running dovecot
> 2.2.32 but the replicator service tries to replicate every user on my
> database even when the iterate_query is correctly set up and the command
> "doveadm user '*' " shows only the  users I want to replicate, I think I am
> missing something but I do not know what.
>
> Thank you so much for your help.
>
> Jorge C.

Please provide doveconf -n

Aki
Reply | Threaded
Open this post in threaded view
|

Fwd: master/master replications v. 2.2.32

Jorge Canto E.
doveconf -n

# 2.2.32 (dfbe293d4): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-696.1.1.el6.x86_64 x86_64 CentOS release 6.9 (Final) ext3
auth_socket_path = /var/run/dovecot/auth-userdb
doveadm_password =  # hidden, use -P to show it
doveadm_port = 61800
first_valid_uid = 150
last_valid_uid = 150
mail_location = maildir:/var/vmail/%d/%n
mail_plugins = notify replication
mail_privileged_group = mail
mbox_write_locks = fcntl
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  mail_replica = tcp:xxx.xxx.xxx.xxx
}
postmaster_address = [hidden email]
service aggregator {
  fifo_listener replication-notify-fifo {
    mode = 0666
    user = vmail
  }
  unix_listener replication-notify {
    mode = 0666
    user = vmail
  }
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
  }
  unix_listener auth-userdb {
    group = mail
    mode = 0600
    user = vmail
  }
}
service config {
  unix_listener config {
    user = vmail
  }
}
service doveadm {
  inet_listener {
    port = 61800
  }
  user = vmail
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
    mode = 0666
  }
}
ssl = required
ssl_cert = </etc/pki/tls/certs/mailnew.it911.crt
ssl_key =  # hidden, use -P to show it
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}


Thank you

Jorge C.

On Mon, Oct 23, 2017 at 1:19 PM, Jorge Canto E. <[hidden email]>
wrote:

> Hi, here is doveconf -n
>
> # 2.2.32 (dfbe293d4): /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-696.1.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
> ext3
> auth_socket_path = /var/run/dovecot/auth-userdb
> first_valid_uid = 150
> last_valid_uid = 150
> mail_location = maildir:/var/vmail/%d/%n
> mail_privileged_group = mail
> mbox_write_locks = fcntl
> passdb {
>   args = /etc/dovecot/dovecot-sql.conf.ext
>   driver = sql
> }
> postmaster_address = [hidden email]
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
>     mode = 0666
>     user = postfix
>   }
>   unix_listener auth-userdb {
>     group = mail
>     mode = 0600
>     user = vmail
>   }
> }
> ssl = required
> ssl_cert = </etc/pki/tls/certs/mailnew.it911.crt
> ssl_key =  # hidden, use -P to show it
> userdb {
>   args = /etc/dovecot/dovecot-sql.conf.ext
>   driver = sql
> }
>
>
> Thank you
>
> Jorge C.
>
> On Mon, Oct 23, 2017 at 1:07 PM, Aki Tuomi <[hidden email]> wrote:
>
>>
>> > On October 23, 2017 at 7:29 PM "Jorge Canto E." <[hidden email]>
>> wrote:
>> >
>> >
>> > Hi, in the past I set up a master/master replication through TCP using
>> > dovecot 2.2.10 on both servers and everything is running fine, I filter
>> the
>> > users to replicate using the iterate_query on file dovecot-sql.con.ext;
>> now
>> > I want to set up a new replication between two new servers running
>> dovecot
>> > 2.2.32 but the replicator service tries to replicate every user on my
>> > database even when the iterate_query is correctly set up and the command
>> > "doveadm user '*' " shows only the  users I want to replicate, I think
>> I am
>> > missing something but I do not know what.
>> >
>> > Thank you so much for your help.
>> >
>> > Jorge C.
>>
>> Please provide doveconf -n
>>
>> Aki
>>
>
>