any hints on which configuration I should have to be able to properly send E-mails from a specific domains using 2 servers?
so, for example, I have server 18.104.22.168 (server1) and 22.214.171.124 (server2) and I want both of them to properly send E-mail from @mydomain.com
my thought is:
1) setup server1 with hostname server1.whatever1.com and rDNS
2) setup server2 with hostname server2.whatever2.com and rDNS
3) configure the domains' DNS with SPF like:
TXT "v=spf1 a mx ip4:126.96.36.199 ip4:188.8.131.52 ?all"
4) run smtpd on both servers and start sending the E-mails