diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-02-27 17:09:39 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-02-27 17:09:39 +0530 |
commit | 36d3550dd776851fa11f8620467381f75fb1a9ed (patch) | |
tree | 9450281d228f5ab7b512b2122cc2d4e5b849af3f /hosts/kay/modules/mail.nix | |
parent | a41347e971a5b7498d12e47b25895faf4feb2bd8 (diff) |
kay/mail/reports: init
Diffstat (limited to 'hosts/kay/modules/mail.nix')
-rw-r--r-- | hosts/kay/modules/mail.nix | 20 |
1 files changed, 14 insertions, 6 deletions
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"; + } + ]; }; }; }; |