From caaab0e14df42ed0001b457c76cead6686ad9ff2 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 5 Dec 2023 18:23:04 +0100 Subject: [PATCH] fix: new Greenbaum mail server is mail.greenbaum.zone --- hosts/nachtigall/apps/forgejo.nix | 2 +- hosts/nachtigall/apps/mastodon.nix | 2 +- hosts/nachtigall/apps/nextcloud.nix | 2 +- terraform/dns.tf | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/nachtigall/apps/forgejo.nix b/hosts/nachtigall/apps/forgejo.nix index eb76588..638b605 100644 --- a/hosts/nachtigall/apps/forgejo.nix +++ b/hosts/nachtigall/apps/forgejo.nix @@ -55,7 +55,7 @@ mailer = { ENABLED = true; PROTOCOL = "smtps"; - SMTP_ADDR = "mx2.greenbaum.cloud"; + SMTP_ADDR = "mail.greenbaum.zone"; SMTP_PORT = 465; FROM = ''"pub.solar git server" ''; USER = "admins@pub.solar"; diff --git a/hosts/nachtigall/apps/mastodon.nix b/hosts/nachtigall/apps/mastodon.nix index a99cf5b..babb464 100644 --- a/hosts/nachtigall/apps/mastodon.nix +++ b/hosts/nachtigall/apps/mastodon.nix @@ -54,7 +54,7 @@ vapidPublicKeyFile = "/run/agenix/mastodon-vapid-public-key"; smtp = { createLocally = false; - host = "mx2.greenbaum.cloud"; + host = "mail.greenbaum.zone"; port = 587; authenticate = true; user = "admins@pub.solar"; diff --git a/hosts/nachtigall/apps/nextcloud.nix b/hosts/nachtigall/apps/nextcloud.nix index 2c946bb..d33775e 100644 --- a/hosts/nachtigall/apps/nextcloud.nix +++ b/hosts/nachtigall/apps/nextcloud.nix @@ -63,7 +63,7 @@ mail_smtpname = "admins@pub.solar"; mail_smtpsecure = "tls"; mail_smtpauth = 1; - mail_smtphost = "mx2.greenbaum.cloud"; + mail_smtphost = "mail.greenbaum.zone"; mail_smtpport = "587"; # This is to allow connections to collabora and keycloak, among other services diff --git a/terraform/dns.tf b/terraform/dns.tf index 57b230c..85ee9e0 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -122,7 +122,7 @@ resource "namecheap_domain_records" "pub-solar" { record { hostname = "@" type = "TXT" - address = "v=spf1 include:spf.greenbaum.cloud a:list.pub.solar ~all" + address = "v=spf1 include:spf.greenbaum.zone a:list.pub.solar ~all" } record { hostname = "list" @@ -142,7 +142,7 @@ resource "namecheap_domain_records" "pub-solar" { record { hostname = "@" type = "MX" - address = "mx2.greenbaum.cloud." + address = "mail.greenbaum.zone." mx_pref = "0" } record {