Page MenuHomePhabricator

Ensure that store.wikimedia.org complies with Google's new email sender guidelines
Closed, ResolvedPublic

Description

Google has announced new requirements for sending email to gmail accounts effective 2024-02-01. This is a tracking task to define what is required for the public Wikimedia Shopify instance (store.wikimedia.org) to be compliant.

According to Shopify Support, we need to add the 4 CNAME records below to our DNS records to authenticate our domain and allow Shopify to impersonate it. We need to do the same with 4 other CNAME records for our internal Shopify instance, wikimediafoundation.myshopify.com (https://phabricator.wikimedia.org/T355833).

Record #1:
Type: CNAME
Host name: n1j._domainkey
Value: dkim1.327bdf87d37c.p413.email.myshopify.com

Record #2:
Type: CNAME
Host name: n1j2._domainkey
Value: dkim2.327bdf87d37c.p413.email.myshopify.com

Record #3:
Type: CNAME
Host name: n1j3._domainkey
Value: dkim3.327bdf87d37c.p413.email.myshopify.com

Record #4:
Type: CNAME
Host name: mailern1j
Value: 327bdf87d37c.p413.email.myshopify.com

I've attached the instructions from Shopify Support for reference. I have admin access to both Shopify instances, so I can "authenticate the domain" on the Shopify admin console once the CNAME records are added.

Event Timeline

Change 992936 had a related patch set uploaded (by Ssingh; author: Ssingh):

[operations/dns@master] wikimedia.org: add DKIM selectors for store.wm.org

https://gerrit.wikimedia.org/r/992936

Change 992936 merged by Ssingh:

[operations/dns@master] wikimedia.org: add DKIM selectors for store.wm.org

https://gerrit.wikimedia.org/r/992936

Mentioned in SAL (#wikimedia-operations) [2024-01-25T16:52:57Z] <sukhe> running authdns-update for CR 992936: T355835

@bcampbell: The changes have been merged, please try the authenticate domain part now. Thanks.

@ssingh Thank you, I just initiated the process, which Shopify says may take 24 hours to complete. I'll follow up here when the process finishes.

Change 993008 had a related patch set uploaded (by Ssingh; author: Ssingh):

[operations/dns@master] wikimedia.org: fix store.wm.org records

https://gerrit.wikimedia.org/r/993008

Change 993008 merged by Ssingh:

[operations/dns@master] wikimedia.org: fix store.wm.org records

https://gerrit.wikimedia.org/r/993008

Mentioned in SAL (#wikimedia-operations) [2024-01-25T18:01:06Z] <sukhe> running authdns-update for CR 993008: T355835

$ dig n1j._domainkey.wikimedia.org +short
dkim1.327bdf87d37c.p413.email.myshopify.com.
n1j.domainkey.u13505235.wl236.sendgrid.net.
$ dig n1j2._domainkey.wikimedia.org +short
dkim2.327bdf87d37c.p413.email.myshopify.com.
n1j2.domainkey.u13505235.wl236.sendgrid.net.
$ dig n1j3._domainkey.wikimedia.org +short
dkim3.327bdf87d37c.p413.email.myshopify.com.
$ dig mailern1j.wikimedia.org +short
327bdf87d37c.p413.email.myshopify.com.
u13505235.wl236.sendgrid.net.

Sorry about the earlier commit, this should be fixed now.

@jhathaway: adding you for the additional check on your end, given your questions on the other task.

Thanks @ssingh. All looks good on the Shopify end for this instance. It says are domain is authenticating now.

ssingh claimed this task.

Thanks for letting us know @bcampbell. I am marking this as resolved; in case there are any further concerns, please let us know.

Thanks @ssingh . The other Shopify instance still needs the CNAME records added it looks like, but we are good-to-go on this one.