Better disable replication
authorAlex Dehnert <alex@dehnerts.com>
Sat, 5 Aug 2023 20:22:48 +0000 (20:22 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Sat, 5 Aug 2023 20:22:48 +0000 (20:22 +0000)
conf.d/10-replication.conf
conf.d/auth-passwdfile.conf.ext

index b4e881dc65016b09ac46626ef0c270746a5fd3cf..2bf410cf98daed092813f7a1de492cb35a919d81 100644 (file)
@@ -9,7 +9,7 @@ service replicator {
 
 dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
 plugin {
-  #mail_replica = remote:dovecot-vmail@mail-pi.dehnerts.com
+  mail_replica = remote:dovecot-vmail@mail-pi.dehnerts.com
 }
 
 service aggregator {
index 32a7ee725878ba146b0ee008c0495045ddd44956..6092e7a14a4b58a661921f255f89f3f188d7c8b2 100644 (file)
@@ -11,7 +11,7 @@ passdb {
 userdb {
   driver = passwd-file
   args = username_format=%u /etc/dovecot/extra-users.passwd
-  default_fields = uid=dovecot-vmail gid=dovecot-vmail home=/var/mail/virtual/data/%u
+  default_fields = uid=dovecot-vmail gid=dovecot-vmail home=/var/mail/virtual/data/%u noreplicate
 
   # Default fields that can be overridden by passwd-file
   #default_fields = quota_rule=*:storage=1G