Postfix/Dovecot/Opendkim server transfer 1. Sync user accounts, UIDs, GIDs and passwords should be identical on both servers 2. Sync application configurations: ``` rsync -arv /etc/letsencrypt/ :/etc/letsencrypt/ rsync -arv /etc/opendkim/ :/etc/opendkim/ rsync -arv /etc/postfix/ :/etc/postfix/ rsync -arv /etc/opendkim.conf :/etc/opendkim.conf rsync -arv /etc/dovecot/ :/etc/dovecot/ ``` 3. Sync mail data: ``` rsync -avr /var/spool/mail/ :/var/spool/mail/ rsync -avr /var/spool/mail/ :/var/spool/mail/ rsync -avr /var/spool/mqueue/ :/var/spool/mqueue/ rsync -avr /var/spool/clientmqueue/ :/var/spool/clientmqueue/ rsync -avr /var/spool/opendkim/ :/var/spool/opendkim/ rsync -avr /var/spool/postfix/ :/var/spool/postfix/ ```