Portál AbcLinuxu, 7. května 2025 20:03
# Enable the replication plugin globally #mail_plugins = $mail_plugins notify replication # The mail processes need to have access to the replication-notify fifo and socket. service aggregator { fifo_listener replication-notify-fifo { user = vmail mode = 0666 } unix_listener replication-notify { user = vmail mode = 0666 } } # Enable doveadm replicator commands service replicator { unix_listener replicator-doveadm { mode = 0666 } } # Create a listener for doveadm-server service doveadm { user = vmail vsz_limit=512 MB inet_listener { port = 2727 } } # configure how many dsyncs can be run in parallel (10 by default) replication_max_conns = 10 # tell doveadm client to use this port by default doveadm_port = 2727 #Both the client and the server also need to have a shared secret doveadm_password = xxxxxxxxxxxx # use tcp:hostname as the dsync target plugin { mail_replica = tcp:imap2.server # use doveadm_port } service config { unix_listener config { user = vmail } }
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.