Browse Source

[Dovecot] Set replicator options by default - unused, no support or docs as of today

andryyy 5 years ago
parent
commit
23cf8995df
1 changed files with 20 additions and 0 deletions
  1. 20 0
      data/conf/dovecot/dovecot.conf

+ 20 - 0
data/conf/dovecot/dovecot.conf

@@ -81,6 +81,7 @@ service doveadm {
   inet_listener {
   inet_listener {
     port = 12345
     port = 12345
   }
   }
+  vsz_limit=2048 MB
 }
 }
 namespace inbox {
 namespace inbox {
   inbox = yes
   inbox = yes
@@ -396,6 +397,25 @@ imap_max_line_length = 2 M
 #auth_cache_negative_ttl = 0
 #auth_cache_negative_ttl = 0
 #auth_cache_ttl = 30 s
 #auth_cache_ttl = 30 s
 #auth_cache_size = 2 M
 #auth_cache_size = 2 M
+service replicator {
+  process_min_avail = 1
+}
+service aggregator {
+  fifo_listener replication-notify-fifo {
+    user = vmail
+  }
+  unix_listener replication-notify {
+    user = vmail
+  }
+}
+service replicator {
+  unix_listener replicator-doveadm {
+    mode = 0666
+  }
+}
+replication_max_conns = 10
+doveadm_port = 12345
+replication_dsync_parameters = -d -l 30 -U -n INBOX
 !include_try /etc/dovecot/extra.conf
 !include_try /etc/dovecot/extra.conf
 !include_try /etc/dovecot/sogo-sso.conf
 !include_try /etc/dovecot/sogo-sso.conf
 !include_try /etc/dovecot/shared_namespace.conf
 !include_try /etc/dovecot/shared_namespace.conf