From 4447cf06c404ce39410d041f7d699a63d9bb8a11 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Fri, 15 Sep 2023 12:56:19 +0200 Subject: [PATCH] manage all aliases in /etc/aliases --- modules/mail/default.nix | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/modules/mail/default.nix b/modules/mail/default.nix index 9713b99..349c430 100644 --- a/modules/mail/default.nix +++ b/modules/mail/default.nix @@ -80,32 +80,6 @@ in sslCert = "/var/lib/acme/${hostname}/fullchain.pem"; sslKey = "/var/lib/acme/${hostname}/key.pem"; relayDomains = [ "hash:/var/lib/mailman/data/postfix_domains" ]; - - extraAliases = '' - # Taken from kaki, maybe we can throw out some at some point - # General redirections for pseudo accounts - bin: root - daemon: root - named: root - nobody: root - uucp: root - www: root - ftp-bugs: root - postfix: root - - # Well-known aliases - manager: root - dumper: root - operator: root - abuse: postmaster - postmaster: root - - # trap decode to catch security attacks - decode: root - - # yeet into the void - noreply: /dev/null - ''; config = { home_mailbox = "Maildir/"; # hostname used in helo command. It is recommended to have this match the reverse dns entry