summary refs log tree commit diff
path: root/fleet/hosts/trieste/mail.nix
diff options
context:
space:
mode:
Diffstat (limited to 'fleet/hosts/trieste/mail.nix')
-rw-r--r--fleet/hosts/trieste/mail.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/fleet/hosts/trieste/mail.nix b/fleet/hosts/trieste/mail.nix
new file mode 100644
index 0000000..a9258d2
--- /dev/null
+++ b/fleet/hosts/trieste/mail.nix
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: V <v@unfathomable.blue>
+# SPDX-License-Identifier: OSL-3.0
+
+{ pkgs, ... }:
+
+{
+  services.postfix = {
+    # Disable delivery to local users
+    localRecipients = [];
+
+    # Forward administrative mail to vityaz
+    postmasterAlias = "postmaster@unfathomable.blue";
+  };
+}