-1

We are working with bind9 in our center and we have two different mail servers. One is for our company domain and the other is for customer domains. At the moment we have the simple entry in the file:

SPF     "v=spf1 mx -all"
TXT     "v=spf1 mx -all"

This works great for our company server and don't makes any problems.

Now we have the customer server where we get a few complains there is a problem with sending mails or automaticly forwarding them. When we say there is mail1.test.net and mail2.test.net, how should the SPF record look like so both servers are included?

I tryed it with:

                         MX    10 mail1.test.net
                               "v=spf1 mx include:mail2.test.net -all"
mail2.test.net.    IN    TXT   "v=spf1 a:mail2.test.net -all"

But as you can think, this didn't work at all.

Thank you for your help.

Phillip St.
  • 11
  • 1
  • 3

1 Answers1

0

Add "a:" for each host that will send mail for that domain.

testdomain.com.      IN TXT     "v=spf1 mx a:mail1.testserver.com a:mail2.testserver.com -all"

will allow both mail1.testserver.com and mail2.testserver.com as well as any servers listed with a MX record.

Ialokin
  • 481
  • 2
  • 9