aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/dns
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-16 13:46:09 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-16 13:46:09 +0200
commit3b45d5f2afc3a48809d0353a3133025525247331 (patch)
treed08ed38cfddde4fafffbbf2a88a6e6e5df6b4c71 /nixops/modules/dns
parent85f5ed68104de9edd8f8e532dc0c2de931e3ca1b (diff)
downloadNix-3b45d5f2afc3a48809d0353a3133025525247331.tar.gz
Nix-3b45d5f2afc3a48809d0353a3133025525247331.tar.zst
Nix-3b45d5f2afc3a48809d0353a3133025525247331.zip
Change dmarc and disable mx-1 until ready
Diffstat (limited to 'nixops/modules/dns')
-rw-r--r--nixops/modules/dns/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixops/modules/dns/default.nix b/nixops/modules/dns/default.nix
index 34019d1..0096f55 100644
--- a/nixops/modules/dns/default.nix
+++ b/nixops/modules/dns/default.nix
@@ -106,11 +106,11 @@
106 '' 106 ''
107 ; ------------------ mail: ${n} --------------------------- 107 ; ------------------ mail: ${n} ---------------------------
108 ${if e.receive then "${n} IN MX 10 mail.${conf.name}." else ""} 108 ${if e.receive then "${n} IN MX 10 mail.${conf.name}." else ""}
109 ${if e.receive then "${n} IN MX 50 mx-1.${conf.name}." else ""} 109 ;${if e.receive then "${n} IN MX 50 mx-1.${conf.name}." else ""}
110 110
111 ; Mail sender authentications 111 ; Mail sender authentications
112 ${n} IN TXT "v=spf1 mx ~all" 112 ${n} IN TXT "v=spf1 mx ~all"
113 _dmarc${suffix} IN TXT "v=DMARC1; p=quarantine; adkim=r; aspf=r; fo=1; rua=mailto:postmaster@immae.eu; ruf=mailto:postmaster@immae.eu;" 113 _dmarc${suffix} IN TXT "v=DMARC1; p=none; adkim=r; aspf=r; fo=1; rua=mailto:postmaster+rua@immae.eu; ruf=mailto:postmaster+ruf@immae.eu;"
114 ${if e.send then '' 114 ${if e.send then ''
115 immae_eu._domainkey${suffix} IN TXT ( "v=DKIM1; k=rsa; s=email; " 115 immae_eu._domainkey${suffix} IN TXT ( "v=DKIM1; k=rsa; s=email; "
116 "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzl3vLd8W5YAuumC5+ZT9OV7/14Pmh5JYtwyqKI3cfe9NnAqInt3xO4bZ7oqIxRKWN4SD39vm7O/QOvFdBt00ENOOzdP90s5gKw6eIP/4+vPTh0IWltAsmu9B2agzdtWUE7t2xFKIzEn8l9niRE2QYbVaqZv4sub98vY55fIgFoHtjkmNC7325S8fjDJGp6OPbyhAs6Xl5/adjF" 116 "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzl3vLd8W5YAuumC5+ZT9OV7/14Pmh5JYtwyqKI3cfe9NnAqInt3xO4bZ7oqIxRKWN4SD39vm7O/QOvFdBt00ENOOzdP90s5gKw6eIP/4+vPTh0IWltAsmu9B2agzdtWUE7t2xFKIzEn8l9niRE2QYbVaqZv4sub98vY55fIgFoHtjkmNC7325S8fjDJGp6OPbyhAs6Xl5/adjF"