From 954afe5905c15910d33fcaf35a182a63132fbf92 Mon Sep 17 00:00:00 2001 From: Sven Semmler Date: Wed, 6 Nov 2019 11:20:11 -0600 Subject: [PATCH] Append /var/spool/mail to binds variable ... ... to make received email persist through reboots. --- configuration-guides/fetchmail.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configuration-guides/fetchmail.md b/configuration-guides/fetchmail.md index 25bd4ab..c3e11ae 100644 --- a/configuration-guides/fetchmail.md +++ b/configuration-guides/fetchmail.md @@ -90,4 +90,18 @@ for rc in /usr/local/etc/fetchmail/*.rc; do done ~~~ +Make sure the folder '/rw/config/qubes-bind-dirs.d' exists. + +~~~ +sudo mkdir -p /rw/config/qubes-bind-dirs.d +~~~ + +Create the file '/rw/config/qubes-bind-dirs.d/50_user.conf' with root rights. + +Now edit it to append the '/var/spool/mail/' directory to the binds variable. + +~~~ +binds+=( '/var/spool/mail' ) +~~~ + Now reboot your AppVM and you are done.