aboutsummaryrefslogtreecommitdiffstats
path: root/etc/fetchmail.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/fetchmail.profile')
-rw-r--r--etc/fetchmail.profile31
1 files changed, 31 insertions, 0 deletions
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 @@
1# Firejail profile for fetchmail
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/fetchmail.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8blacklist /boot
9blacklist /media
10blacklist /mnt
11blacklist /opt
12
13# Location of your fetchmailrc - I decrypt it into /tmp/fetchmailrc
14# whitelist ${HOME}/.fetchmailrc.gpg
15whitelist ${HOME}/.procmailrc.brown
16whitelist ${HOME}/.procmailrc.gmail
17whitelist ${HOME}/Mail
18whitelist ${HOME}/scripts/fetchmail-real.sh
19whitelist /tmp/fetchmailrc
20include /etc/firejail/whitelist-common.inc
21
22caps.drop all
23nogroups
24noroot
25nosound
26seccomp
27x11 none
28
29# private-bin fetchmail,procmail,bash,chmod
30private-dev
31# private-etc passwd,hosts,resolv.conf