Our current setup is a webserver at
www.domain.tld (DNS A record) and a mail server (postfix) at
mail.domain.tld (DNS MX record) on one dedicated server (IP address
Our website sends out newsletters every day to our subscribers so the current machine has to handle both, the webserver and mail server load.
We would like to "outsource" the newsletter delivery to a second dedicated mail server with IP address
So in addition to the current MX record
22.214.171.124, we are planning to add a second MX record
126.96.36.199 with lower priority.
Now we would like to continue to use our current mail server
188.8.131.52 should be using the new mail server at
mail2 to send out newsletters, and relaying mails to
@domain.tld sent to
To my understanding,
mail2.example.com should ONLY be allowed to send out mails when they come from
184.108.40.206, AND it should relay incoming mails to
Thus, the "hard work" of sending out several thousand mails per day would be offloaded to the machine at
220.127.116.11 separating web and "newsletter" traffic.
How can I achieve this? We use Debian Jessie and postfix on both machines. I understand I can relay the incoming mail as similarly described here: Postfix : Relaying all incoming mail to another host
How do I get the "send newsletter" part?
If you need more specific information please let me know!