dsync replication issue

Cédric ML cedric.bassaget.ml at gmail.com
Thu Aug 18 08:26:37 UTC 2016


Hello,

I'm facing a problem with dsync : replication between my two dovecot 
2.2.10 servers (10.10.10.10 = serverA and 10.10.10.11 = serverB) is not 
done when a mail is received on any of the two servers.
Sync is correctly working when running "doveadm [-D] sync -A 
tcp:10.10.10.10:12345" from serverB or "doveadm [-D] sync -A 
tcp:10.10.10.11:12345" from serverA
Sieve vacation message replication is functional too, and triggered when 
a change is done on any of the two servers.

I guess it's a notify problem, but I did not find how to debug it... 
I've enabled dovecot debug, but I don't see anything related to notify 
in logfile.
Here's my doveconf -n (it's the same on the two servers, except IP 
address changes)

Hope somebody will be able to help me.

Regards,
Cédric
---------------------------------------

root at dovecot1-pa3:/etc/dovecot/conf.d# doveconf -n
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-327.28.2.el7.x86_64 x86_64 CentOS Linux release 
7.2.1511 (Core)
auth_debug = yes
auth_mechanisms = plain login
debug_log_path = /var/log/dovecot-deliver.log
doveadm_password = tgIK16l5L26023b
doveadm_port = 12345
log_path = /var/log/dovecot-deliver.log
mail_debug = yes
mail_plugins = " quota 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 vacation-seconds
mbox_write_locks = fcntl
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
   driver = sql
}
plugin {
   mail_replica = tcp:10.10.10.10:12345
   quota = maildir:User quota
   quota_grace = 10%%
   quota_rule = Trash:storage=+100M
   quota_status_nouser = DUNNO
   quota_status_overquota = 552 5.2.2 Boite de messagerie pleine.
   quota_status_success = DUNNO
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=85%% quota-warning 85 %u
   sieve = ~/.dovecot.sieve
   sieve_before = /home/vmail/%d/%n/sieve/Vacation.sieve
   sieve_dir = ~/sieve
   sieve_extensions = +vacation-seconds
}
protocols = imap pop3 sieve sieve
service aggregator {
   fifo_listener replication-notify-fifo {
     mode = 0666
     user = mailbox
   }
   unix_listener replication-notify {
     mode = 0666
     user = mailbox
   }
}
service auth {
   inet_listener {
     port = 12346
   }
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
   unix_listener auth-userdb {
     group = mailbox
     mode = 0660
     user = mailbox
   }
}
service config {
   unix_listener config {
     user = mailbox
   }
}
service doveadm {
   inet_listener {
     port = 12345
   }
   user = mailbox
}
service imap-login {
   inet_listener imaps {
     port = 993
   }
}
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
   process_min_avail = 1
   service_count = 1
   vsz_limit = 64 M
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     user = mailbox
   }
   user = mailbox
}
service replicator {
   process_min_avail = 1
   unix_listener replicator-doveadm {
     mode = 0600
   }
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
   driver = prefetch
}
userdb {
   args = /etc/dovecot/dovecot-sql.conf
   driver = sql
}
protocol lda {
   mail_plugins = " quota sieve quota"
   postmaster_address = postmaster at domain.fr
}
protocol imap {
   mail_plugins = " quota imap_quota"
}


More information about the dovecot mailing list