Caddy Forum registration confirmation mail is marked as spam


This issue has been reported here 3 years ago but has not been fixed.

The mail sent by is from IP, which violates the SPF record (SOFTFAIL).

$ dig +short TXT @
"v=spf1 ~all"

The IP belongs to gandi, not sendgrid.

$ dig +short -x @

To fix this issue, the domain administrator should update the SPF record.

1 Like

Thanks for the notice; not really sure how or when that changed… will look into it soon.

1 Like

I submitted a request to have the records updated. Will let you know if I hear back!

1 Like

The SPF record has been updated :+1:

Hi @matt,

Yeah the SPF record has been updated, but,

$ dig +short TXT @
"v=spf1 ip4: ~all"

I think including an IP may be inappropriate, since mails from Gandi are not guaranteed to be sent through the IP

According to Gandi’s document, The domain should be included into SPF record, which puts all the Gandi mailer IPs into consideration.

$ dig +short TXT @
"v=spf1 ?all"

$ dig +short TXT @
"v=spf1 ip4: ip6:2001:4b98:dc4:8::/64 ip4: " "ip4: " "ip4: " "?all"

Therefore, the SPF record for should be updated to v=spf1 ~all if SendGrid is not to be removed.

Thank you very much!

Thank you!

So, we don’t actually use gandi to send emails. We use sendgrid, and I just did a test and the SPF is passing and everything seems to be fine now?

This topic was automatically closed after 90 days. New replies are no longer allowed.