#1 2023-01-29 16:35:32

Spirit
Administrator

Help needed: Mails to gmail are getting blocked

Gmail seems to be blocking mails from quaddicted.com now because there is no SPF record defined and a third-party sender is used:

$ dig quaddicted.com mx
quaddicted.com.		3600	IN	MX	10 v151955.kasserver.com.

I have no idea about this and documentation online is overwhelming. Anyone know what exactly I have to set up at the DNS TXT record? Simply

v=spf1 include:v151955.kasserver.com. ~all

?

#2 2023-01-30 11:04:49

Macil
Member

Re: Help needed: Mails to gmail are getting blocked

"include:" causes the given domain name's spf records to be included, but that domain doesn't have any spf record so you don't want to include it like that.

If it's the case that the email is always sent from an IP that matches what your MX record points to, then this would be good for you:

v=spf1 mx ~all

I peeked at the last email I got from quaddicted and saw it was from the IP address that your MX record points to, so that should be good. After you set up the record, in Gmail you can press "show original" on a new email from the site to see if it passed the SPF check.

(If that's not the only IP address you have sending @quaddicted.com emails, then you can either add those IPs with ip4:/ip6: terms, or just throw in the towel and make an explicit accept-everything SPF record by using "all" instead of "~all".)

#3 2023-01-31 17:35:23

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

Awesome, thanks! I think all the outgoing mail is using that mail server so let's see what happens :D

#4 2023-01-31 17:39:28

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

Actually, I will need to set it up for other sites hosted as well (quakewiki.org, insideqc.com, etc). How could I specify v151955.kasserver.com as the outgoing mail server?

#5 2023-02-04 01:43:56

Macil
Member

Re: Help needed: Mails to gmail are getting blocked

Assuming you want v151955.kasserver.com to be able to send email with the from address as ...@quakewiki.org, ...@insideqc.com, then

1) if you want to also be able to receive emails sent to those addresses, then set each of those domains to have an MX record of "v151955.kasserver.com.", and then set the TXT SPF record to the same thing as quaddicted: "v=spf1 mx ~all".

2) if you don't care about being able to receive emails sent to those addresses, then you can just set each of those domains to have an SPF record of "v=spf1 include:quaddicted.com ~all", which makes it allow whatever quaddicted.com does (so quaddicted.com's MX record). I've tested that this would work as expected with https://vamsoft.com/support/tools/spf-policy-tester.

#6 2023-02-05 17:15:09

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

Thanks again!

#7 2023-08-04 19:38:59

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

Somehow I think I didn't set up the record correctly earlier. Now it is

v=spf1 include:v151955.kasserver.com include:quaddicted.com ~all

which should mean that both a server under each domain may send mails and receivers are asked to softfail other senders.

#8 2023-08-04 21:23:14

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

Oh and it would be super helpful if people would try password reset mails or volunteer to receive a mail via the messaging system of the forum.

Same for quakewiki.org and insideqc.com which I also updated.

#9 2023-08-06 23:18:51

dumptruck_ds
Member

Re: Help needed: Mails to gmail are getting blocked

shoot me some emails... I can test

#10 2023-08-14 15:14:38

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

Oops, that was absolutely wrong, "include:" means "use that domain's settings". What I wanted was "a:". I thought I had figured it out too early ;o)

I hope the records are ok *now*. I will try to send you a mail (again, the other one a couple of days ago probably didnt come through), dumptruck_ds

#11 2023-08-16 17:23:36

Spirit
Administrator

Re: Help needed: Mails to gmail are getting blocked

I got confirmation that it works now.

Board footer