From 9c833ae929f64fa54c5d8aa49e4a784803b805c8 Mon Sep 17 00:00:00 2001 From: Chiraag Nataraj Date: Sat, 16 Sep 2017 13:18:26 -0400 Subject: Add 31 profiles --- etc/fetchmail.profile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 etc/fetchmail.profile (limited to 'etc/fetchmail.profile') diff --git a/etc/fetchmail.profile b/etc/fetchmail.profile new file mode 100644 index 000000000..dc7f4abc3 --- /dev/null +++ b/etc/fetchmail.profile @@ -0,0 +1,31 @@ +# Firejail profile for fetchmail +# This file is overwritten after every install/update +# Persistent local customizations +include /etc/firejail/fetchmail.local +# Persistent global definitions +include /etc/firejail/globals.local + +blacklist /boot +blacklist /media +blacklist /mnt +blacklist /opt + +# Location of your fetchmailrc - I decrypt it into /tmp/fetchmailrc +# whitelist ${HOME}/.fetchmailrc.gpg +whitelist ${HOME}/.procmailrc.brown +whitelist ${HOME}/.procmailrc.gmail +whitelist ${HOME}/Mail +whitelist ${HOME}/scripts/fetchmail-real.sh +whitelist /tmp/fetchmailrc +include /etc/firejail/whitelist-common.inc + +caps.drop all +nogroups +noroot +nosound +seccomp +x11 none + +# private-bin fetchmail,procmail,bash,chmod +private-dev +# private-etc passwd,hosts,resolv.conf -- cgit v1.2.3-70-g09d2