aboutsummaryrefslogtreecommitdiffstats
path: root/etc/claws-mail.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-01-18 11:03:32 +0000
committerLibravatar GitHub <noreply@github.com>2020-01-18 11:03:32 +0000
commite8a5e0d3302547c40df2eb7b40a746f5ced3c10e (patch)
treec63d48704132b12df09cff047a0a8ef00bd6cf5c /etc/claws-mail.profile
parentMerge pull request #3161 from rusty-snake/bl-wayland (diff)
downloadfirejail-e8a5e0d3302547c40df2eb7b40a746f5ced3c10e.tar.gz
firejail-e8a5e0d3302547c40df2eb7b40a746f5ced3c10e.tar.zst
firejail-e8a5e0d3302547c40df2eb7b40a746f5ced3c10e.zip
refactor claws-mail and sylpheed as whitelist profiles (#3162)
* refactor claws-mail as whitelist profile * refactor sylpheed as whitelist profile * Create email-common.profile * safeguard ${DOCUMENTS} * Add disable-xdg to email-common.profile Thanks @rusty-snake for the review.
Diffstat (limited to 'etc/claws-mail.profile')
-rw-r--r--etc/claws-mail.profile43
1 files changed, 4 insertions, 39 deletions
diff --git a/etc/claws-mail.profile b/etc/claws-mail.profile
index 44124f4a3..a1c44c91d 100644
--- a/etc/claws-mail.profile
+++ b/etc/claws-mail.profile
@@ -7,46 +7,11 @@ include claws-mail.local
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.claws-mail 9noblacklist ${HOME}/.claws-mail
10noblacklist ${HOME}/.gnupg
11noblacklist ${HOME}/.signature
12# when storing mail outside the default ${HOME}/Mail path, 'noblacklist' the custom path in your claws-mail.local
13# and 'blacklist' it in your disable-common.local too so it is kept hidden from other applications
14noblacklist ${HOME}/Mail
15 10
16noblacklist ${DOCUMENTS} 11mkdir ${HOME}/.claws-mail
17include disable-common.inc 12whitelist ${HOME}/.claws-mail
18include disable-devel.inc
19include disable-exec.inc
20include disable-interpreters.inc
21include disable-passwdmgr.inc
22include disable-programs.inc
23include disable-xdg.inc
24 13
25whitelist /usr/share/doc/claws-mail 14whitelist /usr/share/doc/claws-mail
26whitelist /usr/share/gnupg
27whitelist /usr/share/gnupg2
28include whitelist-usr-share-common.inc
29 15
30caps.drop all 16# Redirect
31netfilter 17include email-common.profile \ No newline at end of file
32no3d
33nodvd
34nogroups
35nonewprivs
36noroot
37nosound
38notv
39nou2f
40novideo
41protocol unix,inet,inet6
42seccomp
43shell none
44
45private-cache
46private-dev
47private-tmp
48
49# If you want to read local mail stored in /var/mail, add the following to claws-mail.local:
50# noblacklist /var/mail
51# noblacklist /var/spool/mail
52# writable-var