From 487fb3f0bf4d74f99ecaddbf7f3fc0fa0c0a2a4e Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 13 Oct 2023 09:45:07 +0100 Subject: [PATCH] fix: enable better mail sorting Deals with #32 --- applications/gitlab.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/applications/gitlab.nix b/applications/gitlab.nix index 3342607..adc4dd8 100644 --- a/applications/gitlab.nix +++ b/applications/gitlab.nix @@ -115,6 +115,11 @@ in { r_type = "A"; value = cfg.host.ip; } + { + record = cfg.host.ip; + r_type = "PTR"; + value = "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}."; + } ]; networking.firewall.allowedTCPPorts = [ @@ -140,6 +145,9 @@ in { }; }; + # set a valid HELO address + services.postfix.hostname = lib.mkForce "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"; + services.gitlab = { enable = true;