diff options
Diffstat (limited to 'etc/profile-a-l/kmail.profile')
-rw-r--r-- | etc/profile-a-l/kmail.profile | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/etc/profile-a-l/kmail.profile b/etc/profile-a-l/kmail.profile new file mode 100644 index 000000000..ab4ff10b9 --- /dev/null +++ b/etc/profile-a-l/kmail.profile | |||
@@ -0,0 +1,62 @@ | |||
1 | # Firejail profile for kmail | ||
2 | # Description: Full featured graphical email client | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include kmail.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # kmail has problems launching akonadi in debian and ubuntu. | ||
10 | # one solution is to have akonadi already running when kmail is started | ||
11 | |||
12 | noblacklist ${HOME}/.cache/akonadi* | ||
13 | noblacklist ${HOME}/.cache/kmail2 | ||
14 | noblacklist ${HOME}/.config/akonadi* | ||
15 | noblacklist ${HOME}/.config/baloorc | ||
16 | noblacklist ${HOME}/.config/emaildefaults | ||
17 | noblacklist ${HOME}/.config/emailidentities | ||
18 | noblacklist ${HOME}/.config/kmail2rc | ||
19 | noblacklist ${HOME}/.config/kmailsearchindexingrc | ||
20 | noblacklist ${HOME}/.config/mailtransports | ||
21 | noblacklist ${HOME}/.config/specialmailcollectionsrc | ||
22 | noblacklist ${HOME}/.gnupg | ||
23 | noblacklist ${HOME}/.local/share/akonadi* | ||
24 | noblacklist ${HOME}/.local/share/apps/korganizer | ||
25 | noblacklist ${HOME}/.local/share/contacts | ||
26 | noblacklist ${HOME}/.local/share/emailidentities | ||
27 | noblacklist ${HOME}/.local/share/kmail2 | ||
28 | noblacklist ${HOME}/.local/share/kxmlgui5/kmail | ||
29 | noblacklist ${HOME}/.local/share/kxmlgui5/kmail2 | ||
30 | noblacklist ${HOME}/.local/share/local-mail | ||
31 | noblacklist ${HOME}/.local/share/notes | ||
32 | noblacklist /tmp/akonadi-* | ||
33 | |||
34 | include disable-common.inc | ||
35 | include disable-devel.inc | ||
36 | include disable-exec.inc | ||
37 | include disable-interpreters.inc | ||
38 | include disable-passwdmgr.inc | ||
39 | include disable-programs.inc | ||
40 | |||
41 | include whitelist-var-common.inc | ||
42 | |||
43 | # apparmor | ||
44 | caps.drop all | ||
45 | netfilter | ||
46 | nodvd | ||
47 | nogroups | ||
48 | nonewprivs | ||
49 | noroot | ||
50 | nosound | ||
51 | notv | ||
52 | nou2f | ||
53 | novideo | ||
54 | protocol unix,inet,inet6,netlink | ||
55 | # we need to allow chroot, io_getevents, ioprio_set, io_setup, io_submit system calls | ||
56 | seccomp !chroot,!io_getevents,!io_setup,!io_submit,!ioprio_set | ||
57 | # tracelog | ||
58 | |||
59 | private-dev | ||
60 | # private-tmp - interrupts connection to akonadi, breaks opening of email attachments | ||
61 | # writable-run-user is needed for signing and encrypting emails | ||
62 | writable-run-user | ||