Page MenuHomePhabricator

Add SPF records for gitlab.wikimedia.org
Closed, ResolvedPublic

Description

GitLab currently sends mails as From: Gitlab <gitlab@gitlab.wikimedia.org>. For gitlab.wikimedia.org we don't have SPF records configured. So some providers mark mails from GitLab as spam.

We should add SPF records for gitlab.wikimedia.org.

An alternative solution could be to send mails as gitlab@wikimedia.org.

Details

Related Changes in Gerrit:

Event Timeline

eoghan triaged this task as Medium priority.

Change 886137 had a related patch set uploaded (by EoghanGaffney; author: EoghanGaffney):

[operations/dns@master] Add spf record for gitlab.wikimedia.org

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

Change 886137 merged by EoghanGaffney:

[operations/dns@master] Add spf record for gitlab.wikimedia.org

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

I've deployed the softfail records and checked that they're in place:

❯ for i in 0 1 2; do
   ns=ns${i}.wikimedia.org
   echo $ns
   dig +short @${ns} -t txt gitlab.wikimedia.org
done
ns0.wikimedia.org
"v=spf1 include:wikimedia.org ~all"
ns1.wikimedia.org
"v=spf1 include:wikimedia.org ~all"
ns2.wikimedia.org
"v=spf1 include:wikimedia.org ~all"

We'll close this ticket and get in touch with the original reporters to see if this fixes the issue.