Two Postfix and one dovecot

dovecotpostfixsmtp

I need to setup 2 (physical) Postfix server and on one I want to install dovecot.

Both Postfix will have same MX priority. I would prefer to have the dovecot Mailstorage folder on a NFS share. Both postfix are responsible for same 2 domains.

What's the best way to get all incoming Mails Postfix on Server B to dovecot which stay on Server A?
Or should I setup that both Postfix store Mail in the same NFS share?

Best Answer

You should consider using LMTP to deliver mail from both Postfix instances to Dovecot. This also eliminates the need for NFS and is simpler to setup.

See here for details.