[Dovecot] Debian Wheezy Dovecot Replication no updates on message deposit
Hi,
I am trying to setup dovecot replication based on:
http://wiki2.dovecot.org/Replication http://www.dovecot.org/list/dovecot/2013-January/087674.html
I know that 2.1.7 is dated, but I would refrain from upgrading, if not necessary.
The problem I have is pretty much same as the one described in http://www.dovecot.org/list/dovecot/2013-January/087674.html:
I have vmail user on both systems, setup with ssh public key logins with empty passphrase. Apparently, dsync happens only on periodic updates. If a message is deposited on one server, it will only propagate to the other once a while.
Thanks, Milan.
Here is doveconf -n output:
# 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 auth_mechanisms = plain login mail_location = maildir:~/Maildir mail_plugins = " notify replication" managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_replica = remote:vmail@192.168.108.138 sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = " imap sieve pop3" replication_full_sync_interval = 1 hours service aggregator { fifo_listener replication-notify-fifo { user = vmail } unix_listener replication-notify { user = vmail } } service auth { unix_listener auth-client { mode = 0660 user = Debian-exim } } service config { unix_listener config { user = vmail } } service doveadm { user = vmail } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0600 } } ssl_cert = </etc/exim4/exim.crt ssl_key = </etc/exim4/exim.key userdb { driver = prefetch } userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol lda { mail_plugins = " sieve" }
On 3/21/2014 10:50 AM, Milan Cvetkovic <milan.cvetkovic@mpathix.com> wrote:
I know that 2.1.7 is dated, but I would refrain from upgrading, if not necessary.
Since dsync was always buggy in pre 2.2 releases, and was completely rewritten for 2.2, I'd say it has now become 'necessary' to update, if you are experiencing dsync issues.
--
Best regards,
Charles
So, configuration I have should work in 2.2 ?
Thanks, Milan.
Charles Marcus wrote:
On 3/21/2014 10:50 AM, Milan Cvetkovic <milan.cvetkovic@mpathix.com> wrote:
I know that 2.1.7 is dated, but I would refrain from upgrading, if not necessary.
Since dsync was always buggy in pre 2.2 releases, and was completely rewritten for 2.2, I'd say it has now become 'necessary' to update, if you are experiencing dsync issues.
On 3/21/2014 12:00 PM, Milan Cvetkovic <milan.cvetkovic@mpathix.com> wrote:
Charles Marcus wrote:
On 3/21/2014 10:50 AM, Milan Cvetkovic <milan.cvetkovic@mpathix.com> wrote:
I know that 2.1.7 is dated, but I would refrain from upgrading, if not necessary.
Since dsync was always buggy in pre 2.2 releases, and was completely rewritten for 2.2, I'd say it has now become 'necessary' to update, if you are experiencing dsync issues.
So, configuration I have should work in 2.2 ?
Didn't get that far. The point is you are wasting time trying to get it to work in 2.1...
--
Best regards,
Charles
participants (2)
-
Charles Marcus
-
Milan Cvetkovic