From 2e2c2327f27ef629d7135bd7d2cc5cce4dfb8e50 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sun, 22 Oct 2023 23:51:12 +0000 Subject: profiles: support more msmtp configuration paths (#6060) Since version 1.8.6 msmtp supports per-user configuration at either ~/.msmtprc (already supported by firejail) or `$XDG_CONFIG_HOME/msmtp/config`. System-wide support can be placed at /etc/msmtprc. This adds the missing paths to the relevant .inc and .profile files. Note that `blacklist ${HOME}/.msmtprc` is present on both disable-common.inc and disable-programs.inc, so the new paths are added to both files. References: https://wiki.archlinux.org/title/Msmtp#Basic_setup https://marlam.de/msmtp/msmtp.html#Configuration-files --- etc/profile-m-z/mutt.profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc/profile-m-z/mutt.profile') diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile index f56c2b1e5..ab1e0ab02 100644 --- a/etc/profile-m-z/mutt.profile +++ b/etc/profile-m-z/mutt.profile @@ -13,6 +13,7 @@ noblacklist ${DOCUMENTS} noblacklist ${HOME}/.Mail noblacklist ${HOME}/.bogofilter noblacklist ${HOME}/.cache/mutt +noblacklist ${HOME}/.config/msmtp noblacklist ${HOME}/.config/mutt noblacklist ${HOME}/.config/nano noblacklist ${HOME}/.elinks @@ -35,6 +36,7 @@ noblacklist ${HOME}/Mail noblacklist ${HOME}/mail noblacklist ${HOME}/postponed noblacklist ${HOME}/sent +noblacklist /etc/msmtprc blacklist /tmp/.X11-unix blacklist ${RUNUSER}/wayland-* @@ -69,6 +71,7 @@ whitelist ${DOWNLOADS} whitelist ${HOME}/.Mail whitelist ${HOME}/.bogofilter whitelist ${HOME}/.cache/mutt +whitelist ${HOME}/.config/msmtp whitelist ${HOME}/.config/mutt whitelist ${HOME}/.config/nano whitelist ${HOME}/.elinks @@ -124,7 +127,7 @@ tracelog #disable-mnt private-cache private-dev -private-etc @tls-ca,@x11,Mutt,Muttrc,Muttrc.d,gai.conf,gnupg,gnutls,hosts.conf,mail,mailname,nntpserver,terminfo +private-etc @tls-ca,@x11,msmtprc,Mutt,Muttrc,Muttrc.d,gai.conf,gnupg,gnutls,hosts.conf,mail,mailname,nntpserver,terminfo private-tmp writable-run-user writable-var -- cgit v1.2.3-70-g09d2