Replication only sporadic

Lucas Rothamel - Eye Catching Webdesign info at eye-catching-webdesign.de
Fri Oct 24 19:02:09 UTC 2014


Hello dear Dovecot Gurus,

I am setting up two servers with Dovecot replication as hot-standby 
servers for a small high availability cluster, switch-over through 
DNS-redirect.

For testing purposes, both servers are generating a small test mail 
every few minutes and delivering to the local dovecot each. In my mail 
client, I added both servers through IMAP to watch how the replication 
is working. However, I noted that replication is very sporadic: 
sometimes a new email is received "instantaneous" by both servers, then 
no replication updates are visible for hours, and suddenly all missing 
mail appear in the other server.

Why is this? Can this be changed to be more realtime?

Thank you!
Lucas


doveconf -n:
# 2.2.14: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.7 ext4
auth_mechanisms = plain login cram-md5
disable_plaintext_auth = no
info_log_path = /var/log/dovecot-info.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_debug = yes
mail_location = maildir:/home/%d/%n/Maildir
mail_plugins = " notify replication"
mail_privileged_group = mail
passdb {
   args = /etc/dovecot/dovecot-sql.conf
   driver = sql
}
plugin {
   mail_replica = remote:vmail at ...
   quota = maildir:User quota
   quota_rule = *:storage=1GB
   replication_full_sync_interval = 1 hours
}
protocols = imap pop3
service aggregator {
   fifo_listener replication-notify-fifo {
     mode = 0600
     user = vmail
   }
   unix_listener replication-notify {
     mode = 0600
     user = vmail
   }
}
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
   user = root
}
service config {
   unix_listener config {
     user = vmail
   }
}
service doveadm {
   user = vmail
}
service replicator {
   process_min_avail = 1
}
ssl_cert = ...
ssl_key = ...
userdb {
   args = /etc/dovecot/dovecot-sql.conf
   driver = sql
}
protocol imap {
   mail_plugins = quota imap_quota
}
protocol pop3 {
   mail_plugins = quota
   pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
   info_log_path = /var/log/dovecot-lda.log
   mail_plugins = quota
   postmaster_address = ...
}


-- 
Lucas Rothamel
Eye Catching Webdesign
info at eye-catching-webdesign.de - www.eye-catching-webdesign.de

You know, we go to the gym to keep the body fit. Similarly the mind needs some rest. The mind is bombarded with so many impressions. Our mind has been bombarded by impressions the whole time. It needs a different kind of rest other than sleep. And meditation is such a rest. It calms the mind. energizes the spirit and makes the body more strong and vibrant. improves the immune system. The immune cells, the T-cell count go higher through Sudarshan Kriya and meditation. And you feel so nice inside. - Sri Sri Ravi Shankar
I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4222 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20141024/65a46fde/attachment.p7s>


More information about the dovecot mailing list