D
D
Dmaw2020-11-24 16:42:29
SPF
Dmaw, 2020-11-24 16:42:29

What is the correct way to set up an SPF record with multiple records?

I have an spf entry like this:

v=spf1 a mx include:spf.unisender.com include:spf.unione.io include:spf.smtp.bz include:_spf.mail.ru ~all


From the site, letters are sent through all these smtp, and also through Yandex. And everything seems to be working, only in the postmaster on the mail it writes an error that there is no spf record, although here it is and has been for a very long time.

In help I found this https://help.mail.ru/biz/domain/records/spf-all
If you use your own SMTP server to send emails (for example, sending emails from a website), you need to create an SPF record with the value v=spf1 ip4:<ip> a mx include:_spf.mail.ru ~all, where <ip>is the actual IP address of your server.

Here they write about their own SMTP, perhaps this does not apply to me, because only other people's SMTP are used.

Do I need to edit spf or will it do?
Do I still need to add some line for Yandex, since I send letters through it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yakov, 2020-11-25
Svetsky @jamessvetsky

If sending is via third-party SMTP, the IP address of the site does not need to be specified.
If sending goes through Yandex, it should be mentioned in the entry.
It’s not entirely clear where you have mail itself, on Yandex or on Mail.ru, the servers of which are also mentioned in SPF
. The site and mail will be mentioned (operators a and mx, respectively)
Now, depending on where the mail is, I recommend writing it like this:
If on Yandex
v =spf1 include:spf.unisender.com include:spf.unione.io include:spf.smtp.bz include:_spf.yandex.net ~all
If
v=spf1 include:spf.unisender.com include:spf. unione.io include:spf.smtp.bz include:_spf.mail.ru include:_spf.yandex.net ~all
And if suddenly you have working mails on mail ru and letters go there, and mails are created on Yandex only for sending, check where you receive letters from third-party mailboxes on Yandex. Yandex has an old glitch, when sending, MX records are not checked, if Yandex considers mail to be its own, and letters go to Yandex mailboxes, despite MX records pointing, for example, to mail ru servers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question