diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-03-30 17:56:39 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-03-30 22:24:37 -0600 |
| commit | 903e9d67ee6018380732df1e593ce85f7b36762c (patch) | |
| tree | 2ed5110959e9c132e48ef14f1292af07a3681699 /sys/ns/mx.nix | |
| parent | c64a88251a81fddf666106fcc1a5fdc6594b0b10 (diff) | |
sys/mta: implement backup MX
Diffstat (limited to '')
| -rw-r--r-- | sys/ns/mx.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/ns/mx.nix b/sys/ns/mx.nix index 5c7d3d0..6126dd0 100644 --- a/sys/ns/mx.nix +++ b/sys/ns/mx.nix @@ -11,9 +11,10 @@ in config = mkIf config.localMX.enable { mx = [ - { name = "@"; priority = 10; host = "${domains.smtp.main}."; } - { name = "@"; priority = 20; host = "mxbackup1.junkemailfilter.com."; } - { name = "@"; priority = 30; host = "mxbackup2.junkemailfilter.com."; } + { name = "@"; priority = 10; host = "${domains.smtp.gated}."; } + { name = "@"; priority = 20; host = "${domains.smtp-backup.main}."; } + { name = "@"; priority = 30; host = "mxbackup1.junkemailfilter.com."; } + { name = "@"; priority = 40; host = "mxbackup2.junkemailfilter.com."; } ]; txt = [ |
