My Requirements
I have two email servers, james and winmail. They hold same users, for example, account [email protected]
exists both in james and winmail.
When someone sends a email to [email protected]
, I expect that both james and winmail receive that email, and the eml content should be exactly the same.
My Attempts
I tried to configure two MX in DNS. But it can only map example.com
to james or winmail, not both.
Then I try postfix, which means example.com
resolved to postfix server, and when postfix receives the email, it should forward this email to james and winmail without saving it to local storage.
However, /etc/postfix/transport
only supports map example.com
to one server too.
So how can I make postfix forward every email to these two SMTP servers at the same time?