-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPF record is too long #87
Comments
I had briefly a look to: |
That's for kiwix.org https://mxtoolbox.com/SuperTool.aspx?action=spf%3akiwix.org&run=toolpage |
The main problem seems to be that we are using many services to send emails on behalf of our domain, and each services is using many sub-services / IPs:
Is there any service we do not use anymore? Or any we could switch to use gandi SMTP servers (with proprer authentication of course...)? I digged a bit into the SPF records (with https://gist.github.com/benoit74/35cb8b01d3a6aa4a91ad985a5de9ed57) and this is what I found:
gaggle.email seems to be pretty deeply nested / using many subservices. cyon.ch and freshdesk are also not very good. |
We use them all ; I cleaned it up already in May |
I think there are at least those options:
From what I understand, we don't need Gaggle in our SPF record. We do use it but it doesn't send from an I've thus removed it from the SPF record. We're still way above the limit (at 20 instead of 10). I've also reconfigured (via a Plugin) WP to send emails via Mailgun and I've also configured the MailPoet Plugin to send via Gandi SMTP. Those changes allows us to remove the cyon include from the SPF record. We're now at 12 records instead of 10 (arg!). The remaining ones are: Gandi (for SMTP), Mailgun and Freshdesk. Freshdesk is our helpdesk and we can't spare it but… I just checked and we can configure it to use Gandi's IMAP and SMTP instead of the current setup (SPF to use From: xxx@kiwix.org and incoming via a redirect to xxx@kiwix.freshdesk.com). Given how nested freshdesk records are, it's clear we can stay within 10 once we remove it. I haven't done it (not my call) but it's an easy switch. For future reference, here is an exhaustive list (best effort) of our services sending email:
|
We would like to inform you that our scan has identified one problem with your SPF record. These issue prevent SPF from working correctly and as a result, emails sent from your domain can be forged.
Specifically, we have found the following issue:
Too many DNS lookups
The SPF record requires more than 10 DNS queries and is therefore invalid [3]. Currently, the SPF record triggers 34 requests. We recommend replacing some domain names with IP addresses.
If you are uncertain whether your SPF entry is correct, there are online tools that can help you, such as:
The text was updated successfully, but these errors were encountered: