diff options
author | Sam Chudnick <sam@chudnick.com> | 2022-02-12 17:54:06 -0500 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2022-02-12 17:54:06 -0500 |
commit | b0a2c1c5800c30ecf37311885ce11f244102873e (patch) | |
tree | 49329a7af06795ff5fb16479d7c3dfe3441555ee /.config/firejail/neomutt.profile | |
parent | a7ec0d3b3e49837c52051de489b118b650bb2bf0 (diff) |
Bunch of changes
Diffstat (limited to '.config/firejail/neomutt.profile')
-rw-r--r-- | .config/firejail/neomutt.profile | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/.config/firejail/neomutt.profile b/.config/firejail/neomutt.profile new file mode 100644 index 0000000..0a43c6f --- /dev/null +++ b/.config/firejail/neomutt.profile | |||
@@ -0,0 +1,93 @@ | |||
1 | # Local firejail profile for neomutt | ||
2 | name neomutt | ||
3 | quiet | ||
4 | |||
5 | whitelist ${HOME}/.Mail | ||
6 | whitelist ${HOME}/.cache/mutt | ||
7 | whitelist ${HOME}/.mail | ||
8 | whitelist ${HOME}/.msmtprc | ||
9 | whitelist ${HOME}/.signature | ||
10 | whitelist ${HOME}/.vim | ||
11 | whitelist ${HOME}/.viminfo | ||
12 | whitelist ${HOME}/.vimrc | ||
13 | whitelist ${HOME}/.local/share/mail/ | ||
14 | whitelist ${HOME}/.config/mutt/ | ||
15 | whitelist ${HOME}/.mbsyncrc | ||
16 | whitelist ${HOME}/.config/mbsync | ||
17 | whitelist ${HOME}/.config/msmtp | ||
18 | whitelist ${HOME}/.w3m | ||
19 | |||
20 | noblacklist ${HOME}/.Mail | ||
21 | noblacklist ${HOME}/.cache/mutt | ||
22 | noblacklist ${HOME}/.mail | ||
23 | noblacklist ${HOME}/.msmtprc | ||
24 | noblacklist ${HOME}/.signature | ||
25 | noblacklist ${HOME}/.vim | ||
26 | noblacklist ${HOME}/.viminfo | ||
27 | noblacklist ${HOME}/.vimrc | ||
28 | noblacklist ${HOME}/.local/share/mail/ | ||
29 | noblacklist ${HOME}/.config/mutt/ | ||
30 | noblacklist ${HOME}/.mbsyncrc | ||
31 | noblacklist ${HOME}/.config/mbsync | ||
32 | noblacklist ${HOME}/.config/msmtp | ||
33 | noblacklist ${HOME}/.w3m | ||
34 | |||
35 | # Access to GPG for encrypting/decrypting/signing mail and passwords with pass | ||
36 | whitelist ${HOME}/.gnupg | ||
37 | noblacklist ${HOME}/.gnupg | ||
38 | whitelist ${RUNUSER}/gnupg | ||
39 | |||
40 | # This assumes you keep mail account passwords under a separate directory named mail | ||
41 | # This to avoid exposing all passwords to the sandbox, only necessary ones | ||
42 | whitelist ${HOME}/.local/share/password-store/mail | ||
43 | noblacklist ${HOME}/.local/share/password-store/mail | ||
44 | |||
45 | # abook | ||
46 | whitelist ${HOME}/.config/abook | ||
47 | whitelist ${HOME}/.local/share/abook | ||
48 | |||
49 | #include whitelist-runuser-common.inc | ||
50 | writable-run-user | ||
51 | blacklist /tmp/.X11-unix | ||
52 | blacklist ${RUNUSER}/wayland-* | ||
53 | |||
54 | include disable-common.inc | ||
55 | include disable-devel.inc | ||
56 | include disable-interpreters.inc | ||
57 | include disable-passwdmgr.inc | ||
58 | include disable-programs.inc | ||
59 | |||
60 | # Required for using msmtp with passwordeval | ||
61 | apparmor | ||
62 | caps.drop all | ||
63 | netfilter | ||
64 | no3d | ||
65 | nodvd | ||
66 | nogroups | ||
67 | nonewprivs | ||
68 | noroot | ||
69 | nosound | ||
70 | notv | ||
71 | nou2f | ||
72 | novideo | ||
73 | protocol unix,inet,inet6 | ||
74 | seccomp | ||
75 | shell none | ||
76 | disable-mnt | ||
77 | machine-id | ||
78 | |||
79 | whitelist /dev/mapper | ||
80 | whitelist /dev/fd | ||
81 | whitelist /dev/full | ||
82 | whitelist /dev/log | ||
83 | whitelist /dev/null | ||
84 | whitelist /dev/ptmx | ||
85 | whitelist /dev/pts | ||
86 | whitelist /dev/random | ||
87 | whitelist /dev/shm | ||
88 | whitelist /dev/stderr | ||
89 | whitelist /dev/stdin | ||
90 | whitelist /dev/stdout | ||
91 | whitelist /dev/tty | ||
92 | whitelist /dev/urandom | ||
93 | whitelist /dev/zero | ||