From 63b46356ad83703b604ca0d0492fc7bf778eb806 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 7 Apr 2020 12:27:24 +0000 Subject: modules/postfix: directly deliver mail to me Mail to hi@alyssa.is or hi+*@alyssa.is can just be dropped straight into my maildir, rather than going through SMTP. --- modules/workstation/mail/postfix/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/workstation/mail/postfix/default.nix b/modules/workstation/mail/postfix/default.nix index 6741abb96cdf..0da8936cf1b3 100644 --- a/modules/workstation/mail/postfix/default.nix +++ b/modules/workstation/mail/postfix/default.nix @@ -9,6 +9,12 @@ services.postfix.relayHost = "smtp.fastmail.com"; services.postfix.relayPort = 465; + services.postfix.recipientDelimiter = "+"; + services.postfix.config.home_mailbox = "mail/INBOX/"; + services.postfix.virtual = '' + hi@alyssa.is qyliss + ''; + # NixOS links /var/lib/postfix/conf to /etc/postfix, but # postfix.service deletes /var/lib/postfix in an ExecStartPre, so we # can't keep files there without adding them to the store. -- cgit 1.4.1