I have a web-app that runs on one server under two different IPs and domain names, on both HTTP and HTTPS for each:
<VirtualHost *:80> ServerName foo.org ServerAlias www.foo.org ... </VirtualHost> <VirtualHost 18.104.22.168:443> ServerName foo.org ServerAlias www.foo.org </VirtualHost> <VirtualHost *:80> ServerName bar.org ServerAlias www.bar.org ... </VirtualHost> <VirtualHost 22.214.171.124:443> ServerName bar.org ServerAlias www.bar.org </VirtualHost>
I'm using GMail as my SMTP server.
Do I need the reverse PTR and SenderID records? If so, do I put the same ones on all of my records (foo.org, www.foo.org, bar.org, www.bar.org, ASPMX.L.GOOGLE.COM, ASPMX2.GOOGLEMAIL.COM, ..)?
I'm pretty sure I want the domain-keys records, but I'm not sure which domains to attach them to. The Google mail servers? foo.org and bar.org? Everything?
All mail that the system sends comes from an
firstname.lastname@example.org address, regardless of which domain the user uses. The domains point to the exact same code and the code doesn't care about domains as far as email is concerned.