aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-02 11:36:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-02 11:36:01 -0300
commitb0f9520a5f7088ce8f40fba3add709053e7ba776 (patch)
treee64463967a8778acc6c41a5cbf64a4a044c671d8
parentcb3be4b54d635be550b06a1f426d24434be541df (diff)
downloadxsession-b0f9520a5f7088ce8f40fba3add709053e7ba776.tar.gz
xsession-b0f9520a5f7088ce8f40fba3add709053e7ba776.tar.bz2
Adds custom firejail profile
-rw-r--r--config.dot/firejail/mutt.profile.link46
1 files changed, 46 insertions, 0 deletions
diff --git a/config.dot/firejail/mutt.profile.link b/config.dot/firejail/mutt.profile.link
new file mode 100644
index 0000000..6225c83
--- /dev/null
+++ b/config.dot/firejail/mutt.profile.link
@@ -0,0 +1,46 @@
+# mutt email client profile
+
+noblacklist ~/.muttrc
+noblacklist ~/.mutt
+noblacklist ~/.mutt/muttrc
+noblacklist ~/.mailcap
+noblacklist ~/.gnupg
+noblacklist ~/.mail
+noblacklist ~/.Mail
+noblacklist ~/mail
+noblacklist ~/Mail
+noblacklist ~/sent
+noblacklist ~/postponed
+noblacklist ~/.cache/mutt
+noblacklist ~/.w3m
+noblacklist ~/.elinks
+noblacklist ~/.vim
+noblacklist ~/.vimrc
+noblacklist ~/.viminfo
+noblacklist ~/.emacs
+noblacklist ~/.emacs.d
+noblacklist ~/.signature
+noblacklist ~/.bogofilter
+
+# custom
+noblacklist ~/.custom
+noblacklist ~/.msmtprc
+noblacklist ~/.procmailrc
+noblacklist ~/.fetchmailrc
+
+include /etc/firejail/disable-common.inc
+include /etc/firejail/disable-programs.inc
+include /etc/firejail/disable-passwdmgr.inc
+include /etc/firejail/disable-devel.inc
+
+caps.drop all
+netfilter
+nogroups
+nonewprivs
+noroot
+nosound
+protocol unix,inet,inet6
+seccomp
+shell none
+
+private-dev