On 2017-05-09 14:22:39 (+0200), Volker Cordes <i...@freeline-edv.de> wrote:
I know this topic is not really postfix related but advice would
nevertheless be appreciated.
This is definitely more appropriate for another mailing list.
I'm adding a second mail server to my setup, my domains are
spf-protected by this simple entry:
v=spf1 mx -all
If I add second DNS A entry for my MX server will this still work or do
I have to list ips individually? Or should I create multiple MX entries?
The reason I don't want to do that in the first place is that there are
a lot of domains and I'd have to set the entries manually.
Note that MX records list servers that *receive* email while SPF records
list servers that *send* email.
As far as SPF is concerned, adding an extra A record to the host pointed
to by the MX record will just work but that's usually not what you want
with respect to your receiving mail servers. If that server will not be
receiving mail, it's definitely the wrong thing to do.
I prefer to list individual IPs in my SPF records.
If you don't want to maintain many SPF records, look into creating an
_spf.example.com SPF record and including it in your various domains.
Philip
--
Philip Paeps
Senior Reality Engineer
Ministry of Information