diff options
author | 2023-05-05 20:32:27 +0000 | |
---|---|---|
committer | 2023-05-05 20:32:27 +0000 | |
commit | 264deebaa3f128ee39829beb67eb56eec307246b (patch) | |
tree | e0f8156ae987fed502e730cd95978a73faac74ad /etc | |
parent | RELNOTES: add bugfix, ci and docs items (diff) | |
download | firejail-264deebaa3f128ee39829beb67eb56eec307246b.tar.gz firejail-264deebaa3f128ee39829beb67eb56eec307246b.tar.zst firejail-264deebaa3f128ee39829beb67eb56eec307246b.zip |
email-common: fix bogofilter/bsfilter support (#5810)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-a-l/email-common.profile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/profile-a-l/email-common.profile b/etc/profile-a-l/email-common.profile index 7d5c859e9..2f595f274 100644 --- a/etc/profile-a-l/email-common.profile +++ b/etc/profile-a-l/email-common.profile | |||
@@ -20,6 +20,9 @@ noblacklist /var/spool/mail | |||
20 | 20 | ||
21 | noblacklist ${DOCUMENTS} | 21 | noblacklist ${DOCUMENTS} |
22 | 22 | ||
23 | # Allow perl (blacklisted by disable-interpreters.inc) | ||
24 | include allow-perl.inc | ||
25 | |||
23 | include disable-common.inc | 26 | include disable-common.inc |
24 | include disable-devel.inc | 27 | include disable-devel.inc |
25 | include disable-exec.inc | 28 | include disable-exec.inc |
@@ -30,15 +33,18 @@ include disable-xdg.inc | |||
30 | mkdir ${HOME}/.gnupg | 33 | mkdir ${HOME}/.gnupg |
31 | mkfile ${HOME}/.config/mimeapps.list | 34 | mkfile ${HOME}/.config/mimeapps.list |
32 | mkfile ${HOME}/.signature | 35 | mkfile ${HOME}/.signature |
36 | whitelist ${HOME}/.bogofilter | ||
37 | whitelist ${HOME}/.bsfilter | ||
33 | whitelist ${HOME}/.config/mimeapps.list | 38 | whitelist ${HOME}/.config/mimeapps.list |
34 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
35 | whitelist ${HOME}/.gnupg | 39 | whitelist ${HOME}/.gnupg |
40 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
36 | whitelist ${HOME}/.signature | 41 | whitelist ${HOME}/.signature |
37 | whitelist ${DOCUMENTS} | 42 | whitelist ${DOCUMENTS} |
38 | whitelist ${DOWNLOADS} | 43 | whitelist ${DOWNLOADS} |
39 | # when storing mail outside the default ${HOME}/Mail path, 'whitelist' the custom path in your email-common.local | 44 | # when storing mail outside the default ${HOME}/Mail path, 'whitelist' the custom path in your email-common.local |
40 | whitelist ${HOME}/Mail | 45 | whitelist ${HOME}/Mail |
41 | whitelist ${RUNUSER}/gnupg | 46 | whitelist ${RUNUSER}/gnupg |
47 | whitelist /usr/share/bogofilter | ||
42 | whitelist /usr/share/gnupg | 48 | whitelist /usr/share/gnupg |
43 | whitelist /usr/share/gnupg2 | 49 | whitelist /usr/share/gnupg2 |
44 | whitelist /var/mail | 50 | whitelist /var/mail |
@@ -70,7 +76,7 @@ tracelog | |||
70 | # disable-mnt | 76 | # disable-mnt |
71 | private-cache | 77 | private-cache |
72 | private-dev | 78 | private-dev |
73 | private-etc @tls-ca,@x11,gnupg,hosts.conf,mailname,timezone | 79 | private-etc @tls-ca,@x11,bogofilter,bogofilter.cf,gnupg,hosts.conf,mailname,timezone |
74 | private-tmp | 80 | private-tmp |
75 | # encrypting and signing email | 81 | # encrypting and signing email |
76 | writable-run-user | 82 | writable-run-user |