Shattered Kingdoms
https://www.shatteredkingdoms.org/forums/

I can't get a confirmation email sent to my Gmail.
https://www.shatteredkingdoms.org/forums/viewtopic.php?f=21&t=26883
Page 4 of 4

Author:  Meissa [ Wed Jun 22, 2022 10:09 am ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Sadal and I both just got a confirmation email through to Gmail. :D

Happy verifications, all.

M

Author:  stratford [ Wed Jun 22, 2022 1:11 pm ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Meissa wrote:
Sadal and I both just got a confirmation email through to Gmail. :D

Happy verifications, all.

M


Good going.

Author:  Hammish [ Fri Aug 26, 2022 3:27 pm ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Not to necro a thread but I'm having this issue as well.
Is there a fix for players yet or what?

Author:  Meissa [ Mon Aug 29, 2022 9:43 am ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Looking into why it stopped working again. It was fixed for a few months there.

Author:  Sadal [ Sun Sep 11, 2022 12:37 pm ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

gmail appears to be working again. Please let us know if there are issues.

Author:  Ezaya [ Wed Feb 08, 2023 5:04 am ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

seems to be issues again with this.

Author:  stratford [ Thu Feb 09, 2023 10:04 am ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Meissa wrote:
Sadal and I both just got a confirmation email through to Gmail. :D

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.org

As 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/81126

An 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/726317
Change 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.

Author:  Meissa [ Tue Feb 14, 2023 10:19 am ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Appears to be working once again.

M

Author:  stratford [ Wed Feb 15, 2023 7:18 am ]
Post subject:  Re: I can't get a confirmation email sent to my Gmail.

Meissa wrote:
Appears to be working once again.

M


Yes, the message now goes into junk mail of Gmail by default instead of being completely blocked. This means that if there are any stranded Gmail loyalty tokens that they are again accessible! Yay! And the situation is better because there is now a SPF record for mud.shatteredkingdoms.org subdomain and the message is emitted by the IP listed in that record. But the message still doesn't pass alignment: the FROM address of the confirmation email is no-reply@shatteredkingdoms.org and the returnpath/mailfrom is mud@mud.shatteredkingdoms.org. The domains after the @ symbol have to match to be aligned. Alignment is what is needed to get the confirmation emails to get into the Inbox by default in Gmail instead of Junk Mail. You could change either one to match the other at this point.

I'm not sure where the FROM is generated or if it is easy to change in your particular case (traditionally it is) but here is a description about how to change the returnpath/mailfrom in Postfix: https://logic.edchen.org/how-to-rewrite ... n-postfix/ - you'd want a rewrite mapping of mud@mud.shatteredkingdoms.org to map to no-reply@shatteredkingdoms.org instead.

Page 4 of 4 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/