=========================================
My old server dovecot.conf (production1):
=========================================
disable_plaintext_auth = no
listen = *
log_path = /var/log/dovecot.log
mail_location = maildir:/z1dev/mail/virtual/%d/%n/Maildir/
passdb {
args = /etc/dovecot/passwd
driver = passwd-file
master = yes
pass = yes
}
pop3_uidl_format = %g
protocols = pop3 imap
ssl = yes
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
args = uid=vmail gid=vmail home=/z1dev/mail/virtual/%d/%n
driver = static
}
mail_debug = no
verbose_ssl = no
=========================================
My New server dovecot.conf(production2):
=========================================
disable_plaintext_auth = no
listen = *
log_path = /var/log/dovecot.log
mail_location = maildir:/z1devenv/mail/virtual/%d/%n/Maildir/
passdb {
args = /etc/dovecot/passwd
driver = passwd-file
}
pop3_uidl_format = %g
protocols = pop3 imap
ssl = yes
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
args = uid=vmail gid=vmail home=/z1devenv/mail/virtual/%d/%n
driver = static
}
mail_debug = yes
verbose_ssl = no
# Enable the replication plugin globally
mail_plugins = $mail_plugins notify replication
service replicator {
process_min_avail = 1
}
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
plugin {
mail_replica =
remote:vmail@production3.baplc.com}
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service replicator {
unix_listener replicator-doveadm {
mode = 0600
user = vmail
}
}
replication_max_conns = 10
imapc_host =
production1.baplc.comimapc_password = vmail
imapc_master_user = vmail
imapc_user = %u
===================================