[Dovecot] letters local filter duplicated
two servers with replicated master/master.
dovecot.conf = http://pastebin.com/jVnvyWZM
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.
-- Best Regards, Evgeny Senior System Administrator OOO "Vaz Service Hurley"
On 2013-12-04 3:09 AM, John Smith <openmsk@gmail.com> wrote:
dovecot.conf =http://pastebin.com/jVnvyWZM
Please post these things inline...
Many people won't click on $randomlinks from $randompeople...
Also, this breaks continuity for archival purposes (when the link target disappears)...
--
Best regards,
*/Charles/*
OK # 2.2.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-358.23.2.el6.x86_64 x86_64 CentOS release 6.4 (Final) auth_debug = yes auth_mechanisms = plain login auth_use_winbind = yes auth_verbose = 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_debug = yes 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 = 3 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" }
2013/12/4 Charles Marcus <CMarcus@media-brokers.com>
On 2013-12-04 3:09 AM, John Smith <openmsk@gmail.com> wrote:
dovecot.conf =http://pastebin.com/jVnvyWZM
Please post these things inline...
Many people won't click on $randomlinks from $randompeople...
Also, this breaks continuity for archival purposes (when the link target disappears)...
--
Best regards,
*/Charles/*
-- Best Regards, Evgeny Senior System Administrator OOO "Vaz Service Hurley"
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"
On 16/12/13 1:10 PM, John Smith wrote:
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"
I have the same issue with thunderbird, in a master-master setup. If I use sieve, the message does not get duplicated. Hence, it might be an issue with thunderbird.
I'm not really sure, the root cause of the issue. I would be interested in knowing the solution as well.
FYI: I'm on dovecot 2.2.6 and I'm using DSYNC based replication (over ssh)
-Thanks Vijay
participants (3)
-
Charles Marcus
-
John Smith
-
Vijay Rajah