aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/thunderbird.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/thunderbird.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/thunderbird.profile')
-rw-r--r--etc/profile-m-z/thunderbird.profile63
1 files changed, 63 insertions, 0 deletions
diff --git a/etc/profile-m-z/thunderbird.profile b/etc/profile-m-z/thunderbird.profile
new file mode 100644
index 000000000..44ed6e5e0
--- /dev/null
+++ b/etc/profile-m-z/thunderbird.profile
@@ -0,0 +1,63 @@
1# Firejail profile for thunderbird
2# Description: Email, RSS and newsgroup client with integrated spam filter
3# This file is overwritten after every install/update
4# Persistent local customizations
5include thunderbird.local
6# Persistent global definitions
7include globals.local
8
9# writable-run-user and dbus are needed by enigmail
10ignore dbus-user none
11ignore dbus-system none
12writable-run-user
13
14# If you want to read local mail stored in /var/mail, add the following to thunderbird.local:
15#noblacklist /var/mail
16#noblacklist /var/spool/mail
17#whitelist /var/mail
18#whitelist /var/spool/mail
19#writable-var
20
21# These lines are needed to allow Firefox to load your profile when clicking a link in an email
22noblacklist ${HOME}/.mozilla
23whitelist ${HOME}/.mozilla/firefox/profiles.ini
24read-only ${HOME}/.mozilla/firefox/profiles.ini
25
26noblacklist ${HOME}/.cache/thunderbird
27noblacklist ${HOME}/.gnupg
28# noblacklist ${HOME}/.icedove
29noblacklist ${HOME}/.thunderbird
30
31include disable-passwdmgr.inc
32include disable-xdg.inc
33
34# If you have setup Thunderbird to archive emails to a local folder,
35# make sure you add the path to that folder to the mkdir and whitelist
36# rules below. Otherwise they will be deleted when you close Thunderbird.
37# See https://github.com/netblue30/firejail/issues/2357
38mkdir ${HOME}/.cache/thunderbird
39mkdir ${HOME}/.gnupg
40# mkdir ${HOME}/.icedove
41mkdir ${HOME}/.thunderbird
42whitelist ${HOME}/.cache/thunderbird
43whitelist ${HOME}/.gnupg
44# whitelist ${HOME}/.icedove
45whitelist ${HOME}/.thunderbird
46
47whitelist /usr/share/gnupg
48whitelist /usr/share/mozilla
49whitelist /usr/share/thunderbird
50whitelist /usr/share/webext
51include whitelist-usr-share-common.inc
52
53# machine-id breaks audio in browsers; enable or put it in your thunderbird.local when sound is not required
54#machine-id
55novideo
56
57# We need the real /tmp for data exchange when xdg-open handles email attachments on KDE
58ignore private-tmp
59
60read-only ${HOME}/.config/mimeapps.list
61
62# Redirect
63include firefox-common.profile