From a0653a7fb0a00f4a9d8e135f3b725948ba706007 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 15 Nov 2019 18:14:58 +0100 Subject: [PATCH] astroid: fix maildir folder paths Using the absolute path of maildir folders is required for Astroid to save messages in those. (cherry picked from commit 18dc4153c76189fa8de4ab7b47ba7643747e26e7) --- modules/programs/astroid.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/astroid.nix b/modules/programs/astroid.nix index 0463cd155..4fa2db0b3 100644 --- a/modules/programs/astroid.nix +++ b/modules/programs/astroid.nix @@ -20,9 +20,9 @@ let sendmail = astroid.sendMailCommand; additional_sent_tags = ""; default = boolOpt primary; - save_drafts_to = folders.drafts; + save_drafts_to = "${maildir.absPath}/${folders.drafts}"; save_sent = "true"; - save_sent_to = folders.sent; + save_sent_to = "${maildir.absPath}/${folders.sent}"; select_query = ""; } // optionalAttrs (signature.showSignature != "none") {