mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
services/mail: SPF TXT record
This commit is contained in:
parent
bf215c4cc1
commit
2ee5f99fb3
2 changed files with 12 additions and 4 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{ config, pkgs, witch, sources, ... }:
|
||||
{ config, lib, pkgs, witch, sources, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
imports = [ sources.nixos-mailserver.outPath ];
|
||||
|
|
@ -12,6 +14,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
deploy.tf.dns.records.kittywitch_spf = {
|
||||
tld = "kittywit.ch.";
|
||||
domain = "@";
|
||||
txt.value = "v=spf1 ip4:168.119.126.111 ip6:${(head config.networking.interfaces.enp1s0.ipv6.addresses).address} -all";
|
||||
};
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "athame.kittywit.ch";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue