I am little confused right now:
As far as I understand SPF-records are supposed to validate the MAIL-FROM and probably HELO from a sending mailserver. If I am in a shared hosting environment, where I do not have access to the mail servers configuration, why should I add a SPF record to my domains DNS?
For example in the 1and1 doku I found: https://help.1and1.com/domains-c36931/manage-domains-c79822/dns-c37586/explanation-of-an-spf-record-a792807.html which suggests, I should add
to the SPF record.
But when I look at the MAIL FROM and EHLO information, when I send an email from firstname.lastname@example.org it only contains:
$receivingServer>> grep 'MAIL FROM' /var/log/mail.log mout.kundenserver.de[18.104.22.168]: MAIL FROM:<email@example.com> SIZE=1534 $receivingServer>> grep 'EHLO' /var/log/mail.log mout.kundenserver.de[22.214.171.124]: EHLO mout.kundenserver.de $receivingServer>> grep 'exampledomain.com' /var/log/mail.log [empty]
So my question is: Is it really useful to add the suggested SPF-Record include in this environment? Does the SPF-Validator ever look at the FROM-Domain in the Email-Headers?
Thank you in advance.