1
1
13aby2014-04-25 11:22:21
SPF
13aby, 2014-04-25 11:22:21

How to set up a domain SPF record to send email via Mandrill?

Hello.
For my domain, I use mail at the registrar. The registrar's instructions indicated how to set up an SPF record. Accordingly, I added it and it looks like this:
"v=spf1 redirect=_spf.mailhostbox.com"
I need to use https://mandrill.com/ to send mail and at the same time use the standard mailbox features - receive letters, send them using the Mail client.
The documentation https://mandrill.com/ has about setting up an SPF entry:
help.mandrill.com/entries/22030056-how-do-i-add-dn...
Accordingly, I modified the entry:
"v=spf1 redirect= _spf.mailhostbox.com include:spf.mandrillapp.com"
But the validator gets an error: PermError SPF Permanent Error: Missing IP4: 198.2.132.0/22
​​Before that, there was an entry like this:
"v=spf1 redirect=_spf.mailhostbox.com include:spf.mandrillapp.com ?all"
But after a while I was unable to access my email using my password. Is it possible that this is due to an incorrect SPF record?
How to set it up correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Vasterov, 2014-04-25
@zxc80

"But after a while I was unable to access the mail using my password. Is it possible that this is due to an incorrect SPF record?" I'm driving a car and suddenly a tractor plows the field, is it okay that I'm an astronaut?

D
Dmitry, 2014-11-05
@totalcount

If you need to send both directly from your server and through a mandrill, then this:
If you don’t need to send from your server, remove ip4 / ip6. With this setting, it personally works for me both directly and through the mandrill. In this case, in the spf of the record, we tell the receiving server (which will check the spf) that we allow this IP address to send mail on behalf of our domain. The +all parameter says that the rest are responsible for themselves, i.e. the mandrill will show its spfs (and the receiving server will check them).
There will be questions - write :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question