From 33d538bbe551580d771a30417f3c103394ee9a4b Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 27 Jan 2023 19:38:54 -0300 Subject: mutt.profile: add ~/.mutthistory From the manual of mutt 2.2.9: > 3.125. history_file > > Type: path > Default: "~/.mutthistory" > > The file in which Mutt will save its history. --- etc/profile-m-z/mutt.profile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/profile-m-z') diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile index 52d30669f..a26a25573 100644 --- a/etc/profile-m-z/mutt.profile +++ b/etc/profile-m-z/mutt.profile @@ -23,6 +23,7 @@ noblacklist ${HOME}/.mail noblacklist ${HOME}/.mailcap noblacklist ${HOME}/.msmtprc noblacklist ${HOME}/.mutt +noblacklist ${HOME}/.mutthistory noblacklist ${HOME}/.muttrc noblacklist ${HOME}/.nanorc noblacklist ${HOME}/.signature @@ -89,6 +90,7 @@ whitelist ${HOME}/.mail whitelist ${HOME}/.mailcap whitelist ${HOME}/.msmtprc whitelist ${HOME}/.mutt +whitelist ${HOME}/.mutthistory whitelist ${HOME}/.muttrc whitelist ${HOME}/.nanorc whitelist ${HOME}/.signature -- cgit v1.2.3-54-g00ecf From 3d82b71a48c8e5013c4aeed3cd00c7979060c298 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 27 Jan 2023 18:35:15 -0300 Subject: mutt.profile: stop creating editor/browser paths To reduce the amount of spam created in the user home directory. It's unlikely that these paths are going to be both: * Created only after mutt is first opened through firejail and * Created from within mutt Also, no other profile does that: $ git grep -El '(mkdir|mkfile) \$\{HOME\}/\.(emacs|nano|vim)' -- etc etc/profile-m-z/mutt.profile So just whitelist them if they already exist. Added on commit a8a8e33bc ("Add whitelisting to mutt; improve geary, new profile for neomutt", 2020-12-28) / PR #3849. --- etc/profile-m-z/mutt.profile | 9 --------- 1 file changed, 9 deletions(-) (limited to 'etc/profile-m-z') diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile index a26a25573..7e1849079 100644 --- a/etc/profile-m-z/mutt.profile +++ b/etc/profile-m-z/mutt.profile @@ -55,26 +55,17 @@ mkdir ${HOME}/.Mail mkdir ${HOME}/.bogofilter mkdir ${HOME}/.cache/mutt mkdir ${HOME}/.config/mutt -mkdir ${HOME}/.config/nano -mkdir ${HOME}/.elinks -mkdir ${HOME}/.emacs.d mkdir ${HOME}/.gnupg mkdir ${HOME}/.mail mkdir ${HOME}/.mutt -mkdir ${HOME}/.vim -mkdir ${HOME}/.w3m mkdir ${HOME}/Mail mkdir ${HOME}/mail mkdir ${HOME}/postponed mkdir ${HOME}/sent -mkfile ${HOME}/.emacs mkfile ${HOME}/.mailcap mkfile ${HOME}/.msmtprc mkfile ${HOME}/.muttrc -mkfile ${HOME}/.nanorc mkfile ${HOME}/.signature -mkfile ${HOME}/.viminfo -mkfile ${HOME}/.vimrc whitelist ${DOCUMENTS} whitelist ${DOWNLOADS} whitelist ${HOME}/.Mail -- cgit v1.2.3-54-g00ecf From 4a3e0d8789edd0cfd26c66f5ba85138e7fea06e7 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 27 Jan 2023 19:45:03 -0300 Subject: mutt.profile: stop creating config files for other programs Let either the respective program or the user create the file. * ~/.bogofilter: Used by the bogofilter program * ~/.msmtprc: Used by the msmtp program Added on commit a8a8e33bc ("Add whitelisting to mutt; improve geary, new profile for neomutt", 2020-12-28) / PR #3849. --- etc/profile-m-z/mutt.profile | 2 -- 1 file changed, 2 deletions(-) (limited to 'etc/profile-m-z') diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile index 7e1849079..bce56743a 100644 --- a/etc/profile-m-z/mutt.profile +++ b/etc/profile-m-z/mutt.profile @@ -52,7 +52,6 @@ include disable-programs.inc include disable-xdg.inc mkdir ${HOME}/.Mail -mkdir ${HOME}/.bogofilter mkdir ${HOME}/.cache/mutt mkdir ${HOME}/.config/mutt mkdir ${HOME}/.gnupg @@ -63,7 +62,6 @@ mkdir ${HOME}/mail mkdir ${HOME}/postponed mkdir ${HOME}/sent mkfile ${HOME}/.mailcap -mkfile ${HOME}/.msmtprc mkfile ${HOME}/.muttrc mkfile ${HOME}/.signature whitelist ${DOCUMENTS} -- cgit v1.2.3-54-g00ecf