If I have a server with 2 virtual hosts, what is the best approach to naming the mail server for the second virtual host?

Let's say my domains are virtual1.com and virtual2.com. Both the same IP.

/etc/hosts: virtual1.com
rDNS: virtual1.com

What is the best mail server naming approach to use in DNS PTR, DKIM and SPF? Configure virtual2.com DNS for a mail server name of mail.virtual1.com or mail.virtual2.com? Same question for DKIM and SPF.

In other words, better that every virtual domain use the same mail server virtual1.com or better that each domain have a mail.domain name that matches its domain name? Do spam filters care if rDNS of virtual1.com doesn't match when looking up some...@virtual2.com?

Ok to sign all the DKIM mail with the same key, not generate a key for every virtual domain?

Robin

Reply via email to