Meissa wrote:
Sadal and I both just got a confirmation email through to Gmail.
Happy verifications, all.
M
Sadal wrote:
gmail appears to be working again. Please let us know if there are issues.
Not working again.
My understanding is that subdomains like mud.shatteredkingdoms.org do not inherit the SPF record from their parent domain (in this case shatteredkingdoms.org which has different MX of vividnet than the MX where the email is being emitted). The server emitting the email is 198.71.56.67. The FROM address is @shatteredkingdoms.org (and the SPF is good bc it includes that IP) but the MAILFROM/RETURNPATH is @mud.shatterekdingdoms.org which doesn't have a SPF. Pretty sure Gmail doesn't like this.
https://mxtoolbox.com/SuperTool.aspx?ac ... n=toolpage(The SPF for the mud.shatteredkingdoms.org subdomain does not list a MX.)
In your DNS you need a TXT for the mud.shatteredkingdoms.org subdomain the same as it is for shatteredkingdoms.org domain: v=spf1 a mx ip4:198.71.56.67 ?all
Since the nameservers are hosted by Vividnet you should be able to request this from support.
EDIT: Another additional thing that could be done to improve deliverability is to change the FROM address to be the same as the MAILFROM or RETURN:PATH (You can see these in the headers after receiving a message). So, it seems, especially for Google, that because the server MAILFROM is
mud@mud.shatteredkingdoms.org instead of the FROM: of
no-reply@shatteredkingdoms.org, that there is an issue with lacking the SPF for the subdomain as well. This is known as SPF alignment.
TLDR: Step 1, add SPF for mud.shatteredkingdoms.org subdomain in DNS
Step 2 (if needed), change FROM address of the email emitted to be
no-reply@mud.shatteredkingdoms.org instead of
no-reply@shatteredkingdoms.orgAs for why overall? Google changed it so that everyone has to have SPF set up to send to them:
https://support.google.com/mail/answer/81126An alternative, very similar, along the same lines outlined above, would be to change the MAILFROM/RETURNPATH somewhere in Postfix of the emitting server as well. You'd change that to be
xyz@shatteredkingdoms.org instead of
mud@mud.shatteredkingdoms.org. Then it'd be SPF aligned.
This is likely the solution, see the answers on this page:
https://unix.stackexchange.com/a/726317Change the RETURN-PATH to not be the local hostname with mailutils conf, as described in the first answer on the StackExchange page. Change it to shatteredkingdoms.org
One way or another the domain portion needs the RETURN-PATH/MAILFROM aligned/same domain with the FROM.