Some Dsync Replication Errors

Asai asai at globalchangemusic.org
Wed Sep 3 23:26:24 UTC 2014


Greetings,

Working on setting up replication and ran into some errors I have 
questions about and wondering if there's something I need to change.

This one is fairly common:

Sep  3 12:58:25 molecular dovecot: dsync-server(user at domain.org): 
Warning: Failed to do incremental sync for mailbox INBOX, retry with a 
full sync (Modseq 100298 no longer in transaction log)

These two I ran into yesterday and today:

Sep  2 11:13:32 molecular dovecot: dsync-server(user2 at domain2.org): 
Error: Timeout during state=slave_recv_last_common

Sep  3 12:52:08 molecular dovecot: dsync-server(user3 at domain3.org): 
Error: read(remote.mailserver.net) failed: EOF


Configs:

mail_plugins = notify replication

service doveadm {

         inet_listener {

                 port = 1234

         }

}

service replicator {

         process_min_avail = 1

         unix_listener replicator-doveadm {

                 mode = 0600

         }

}

service aggregator {

     fifo_listener replication-notify-fifo {

         user = vmail

         mode = 0600

     }

     unix_listener replication-notify {

         user = vmail

         mode = 0600

     }

}

plugin {

         mail_replica = tcp:sub.domain.org:1234

}


And doveconf -n:

[root at molecular dovecot]# doveconf -n

# 2.2.13.16 (94835dd63163): /etc/dovecot/dovecot.conf

# OS: Linux 2.6.32-431.el6.x86_64 x86_64 Scientific Linux release 6.5 
(Carbon) ext4

auth_mechanisms = plain login

auth_verbose = yes

auth_verbose_passwords = plain

deliver_log_format = msgid=%m: from=%f: %$

doveadm_password = secret

doveadm_port = 1234

mail_debug = yes

mail_home = /vmail/%d/%n/home

mail_location = maildir:/vmail/%d/%n

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 duplicate

namespace {

   inbox = yes

   location =

   prefix =

   separator = /

   type = private

}

passdb {

   args = /etc/dovecot/dovecot-mysql.conf

   driver = sql

}

plugin {

   mail_log_fields = box msgid from flags

   mail_replica = tcp:sub.domain.org:1234

   sieve = /vmail/%d/%n/home/.dovecot.sieve

   sieve_dir = /vmail/%d/%n/home/sieve

}

protocols = imap pop3 lmtp sieve

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

   }

   unix_listener auth-master {

     group = vmail

     mode = 0660

     user = vmail

   }

   unix_listener auth-userdb {

     mode = 0660

     user = vmail

   }

   user = root

}

service doveadm {

   inet_listener {

     port = 1234

   }

}

service imap-login {

   process_min_avail = 3

   service_count = 0

   vsz_limit = 0

}

service managesieve-login {

   inet_listener sieve {

     port = 4190

   }

   process_min_avail = 0

   service_count = 1

   vsz_limit = 64 M

}

service replicator {

   process_min_avail = 1

   unix_listener replicator-doveadm {

     mode = 0600

   }

}

ssl_cert = </etc/postfix/ssl/sub.domain.org.pem

ssl_key = </etc/postfix/ssl/domain.key

userdb {

   args = /etc/dovecot/dovecot-mysql.conf

   driver = sql

}

protocol lda {

   hostname = sub.domain2.org

   mail_plugin_dir = /usr/lib64/dovecot/

   mail_plugins = sieve

   postmaster_address = postmaster at domain2.org

}

protocol imap {

   imap_idle_notify_interval = 24 mins

   mail_max_userip_connections = 60

}

protocol sieve {

   mail_max_userip_connections = 10

   managesieve_implementation_string = Dovecot Pigeonhole

   managesieve_logout_format = bytes=%i/%o

   managesieve_max_line_length = 65536

}

-- 
--Asai



More information about the dovecot mailing list