two servers with replicated master/master. with this setup letters processed local filter duplicated. ie when the mail client receives a letter begins processing using rules (filters) to move the letters in a different folder. summarized in this folder is two duplicate letters. if you disable the filter, the message is not duplicated. But does not move to another location. both servers are configured identically, except "mail_replica = tcp:ip_server2:4092"
# doveconf -n # 2.2.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-431.el6.x86_64 x86_64 CentOS release 6.5 (Final) auth_mechanisms = plain login auth_use_winbind = yes base_dir = /var/run/dovecot/ disable_plaintext_auth = no doveadm_password = pa$$word dsync_remote_cmd = doveadm dsync-server -u%u hostname = s1mx1ls.city.local listen = * mail_access_groups = vmail mail_gid = 5000 mail_location = mdbox:~/:LAYOUT=fs mail_plugins = " quota acl notify replication" mail_privileged_group = vmail mail_uid = 5000 mbox_write_locks = fcntl namespace { hidden = no list = children location = mdbox:~/:INDEX=%h/shared/%%u prefix = shared/%%u/ separator = / subscriptions = no type = shared } namespace inbox { inbox = yes location = mailbox Drafts { auto = no special_use = \Drafts } mailbox Junk { auto = create special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { auto = no special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = } passdb { args = dovecot driver = pam } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile:/etc/dovecot/acls acl_shared_dict = file:/home/vmail/shared-mailboxes.db mail_replica = tcp:192.168.3.14:4092 quota = dirsize:User quota quota_rule = *:storage=1G quota_rule2 = Trash:storage=+10%% quota_rule3 = Sent:storage=+20%% quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u replication_full_sync_interval = 1 hours } service aggregator { fifo_listener replication-notify-fifo { user = vmail } process_limit = 100 process_min_avail = 3 unix_listener replication-notify { user = vmail } } service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { mode = 0666 user = vmail } } service config { unix_listener config { mode = 0600 user = vmail } } service doveadm { inet_listener { port = 4092 } process_limit = 100 process_min_avail = 3 } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { user = vmail } user = dovecot } service replicator { process_limit = 100 process_min_avail = 1 unix_listener replicator-doveadm { group = vmail mode = 0660 } } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } userdb { args = uid=5000 gid=5000 driver = static } valid_chroot_dirs = /home/vmail/ protocol imap { mail_plugins = " quota acl notify replication imap_quota imap_acl" }
-- Best Regards, Evgeny Senior System Administrator OOO "Vaz Service Hurley"