You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once this change is deployed, we should be able to start sending test
emails from `@nixos.org` email addresses using umbriel. I updated our
SPF record in a way such that it should allow umbriel without breaking
our existing email sending capabilities (ImprovMX and gandi.net).
This does *not* change our MX (yet): ImprovMX will still be receiving
emails send to `nixos.org`. To verify that we can receive emails sent to
`nixos.org` addresses, I plan to edit `/etc/hosts` on my personal
mailserver and send some test emails. Do folks have better ideas for
testing this out?
Copy file name to clipboardexpand all lines: terraform/dns.tf
+21-29
Original file line number
Diff line number
Diff line change
@@ -201,11 +201,6 @@ locals {
201
201
type ="TXT"
202
202
value ="9e10a04a4b"
203
203
},
204
-
{
205
-
hostname ="nixos.org"
206
-
type ="TXT"
207
-
value ="v=spf1 include:spf.improvmx.com ~all"
208
-
},
209
204
{
210
205
# hetzner ax162-r 2548595
211
206
hostname ="elated-minsky.builder.nixos.org"
@@ -405,29 +400,34 @@ locals {
405
400
value ="2a01:4f9:c012:8178::"
406
401
},
407
402
408
-
# Mailserver configuration for `mail-test.nixos.org`
403
+
# Mailserver configuration for `nixos.org`
404
+
# TODO: remove the 2 MX records for improvmx below in favor of this once
405
+
# we're ready to switch to the new mailserver:
406
+
# https://github.com/NixOS/infra/issues/485
407
+
# {
408
+
# hostname = "nixos.org"
409
+
# type = "MX"
410
+
# value = "umbriel.nixos.org"
411
+
# },
409
412
{
410
-
hostname ="mail-test.nixos.org"
411
-
type ="MX"
412
-
value ="umbriel.nixos.org"
413
-
},
414
-
{
415
-
hostname ="mail-test.nixos.org"
413
+
hostname ="nixos.org"
416
414
type ="TXT"
417
-
value ="v=spf1 mx ~all"
415
+
# TODO: simplify to just a `mx` rule once umbriel is our one and only
416
+
# mailserver:
417
+
# https://github.com/NixOS/infra/issues/485
418
+
# value = "v=spf1 mx ~all"
419
+
value ="v=spf1 include:spf.improvmx.com a:umbriel.nixos.org ~all"
418
420
},
419
421
{
420
-
hostname ="mail._domainkey.mail-test.nixos.org"
422
+
hostname ="mail._domainkey.nixos.org"
421
423
type ="TXT"
422
-
# From `/var/dkim/mail-test.nixos.org.mail.txt` on `umbriel`.
424
+
#>>> From `/var/dkim/nixos.org.mail.txt` on `umbriel`. <<<
423
425
value ="v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDG4Tx788TCAW/sv1h6JefVJChqbaot1yhycwEq0Uo5x9ZIyq43Dkxxl7LdsHIW75HMI7aTKQRru+5xQ26vQmwiIRFJlJlRSYzlZZ2xnFZPXQ27dXnFh7MxLGC7YEyQFksiA2xxgqtQSyIvwu1whm2WK0fXkoJf87SgTtVjjKjnkQIDAQAB"
424
426
},
425
427
{
426
-
hostname ="_dmarc.mail-test.nixos.org"
428
+
hostname ="_dmarc.nixos.org"
427
429
type ="TXT"
428
-
# TODO: consider making this strict (`v=DMARC1; p=reject; adkim=s; aspf=s;`),
429
-
# but make sure this doesn't break mailing lists: https://dmarcian.com/mailing-lists-dmarc/
0 commit comments