From 36d3550dd776851fa11f8620467381f75fb1a9ed Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 27 Feb 2024 17:09:39 +0530 Subject: kay/mail/reports: init --- hosts/kay/modules/mail.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'hosts/kay/modules/mail.nix') diff --git a/hosts/kay/modules/mail.nix b/hosts/kay/modules/mail.nix index cd47d39..63959b8 100644 --- a/hosts/kay/modules/mail.nix +++ b/hosts/kay/modules/mail.nix @@ -92,12 +92,20 @@ in { type = "memory"; options.subaddressing = true; - principals = [{ - inherit email; - inherit secret; - name = username; - type = "admin"; - }]; + principals = [ + { + inherit email; + inherit secret; + name = username; + type = "admin"; + } + { # for mta-sts & dmarc reports + email = "reports${domain}"; + inherit secret; + name = "reports"; + type = "individual"; + } + ]; }; }; }; -- cgit v1.2.3