Hello, in my case, the emails are going through google first. I have one email in google workspace for delivrability, my internal emails in cloudron.
my MX record:
MX mydomain.com smtp.google.com
my spf record:
v=spf1 include:_spf.google.com a:mail.mydomain.com ~all
technically it works but I still get an error in the DNS Status:
MX record
Hostname: @
Record type: MX
Expected value: 10 mail.mydomain.com
Current value: 1 smtp.google.com
what should i put in the SPF to make it work without error ?
thanks in advance !