diff options
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/mutt.profile | 75 | ||||
-rw-r--r-- | etc/profile-m-z/neomutt.profile | 143 |
2 files changed, 217 insertions, 1 deletions
diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile index 1ce12f54f..87e7c7f06 100644 --- a/etc/profile-m-z/mutt.profile +++ b/etc/profile-m-z/mutt.profile | |||
@@ -1,5 +1,6 @@ | |||
1 | # Firejail profile for mutt | 1 | # Firejail profile for mutt |
2 | # Description: Text-based mailreader supporting MIME, GPG, PGP and threading | 2 | # Description: Text-based mailreader supporting MIME, GPG, PGP and threading |
3 | quiet | ||
3 | # This file is overwritten after every install/update | 4 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 5 | # Persistent local customizations |
5 | include mutt.local | 6 | include mutt.local |
@@ -10,13 +11,14 @@ noblacklist /var/mail | |||
10 | noblacklist /var/spool/mail | 11 | noblacklist /var/spool/mail |
11 | noblacklist ${HOME}/.Mail | 12 | noblacklist ${HOME}/.Mail |
12 | noblacklist ${HOME}/.bogofilter | 13 | noblacklist ${HOME}/.bogofilter |
13 | noblacklist ${HOME}/.cache/mutt | 14 | noblacklist ${HOME}/.config/mutt |
14 | noblacklist ${HOME}/.config/nano | 15 | noblacklist ${HOME}/.config/nano |
15 | noblacklist ${HOME}/.elinks | 16 | noblacklist ${HOME}/.elinks |
16 | noblacklist ${HOME}/.emacs | 17 | noblacklist ${HOME}/.emacs |
17 | noblacklist ${HOME}/.emacs.d | 18 | noblacklist ${HOME}/.emacs.d |
18 | noblacklist ${HOME}/.gnupg | 19 | noblacklist ${HOME}/.gnupg |
19 | noblacklist ${HOME}/.mail | 20 | noblacklist ${HOME}/.mail |
21 | noblacklist ${HOME}/.mailcap | ||
20 | noblacklist ${HOME}/.msmtprc | 22 | noblacklist ${HOME}/.msmtprc |
21 | noblacklist ${HOME}/.mutt | 23 | noblacklist ${HOME}/.mutt |
22 | noblacklist ${HOME}/.muttrc | 24 | noblacklist ${HOME}/.muttrc |
@@ -34,14 +36,77 @@ noblacklist ${HOME}/sent | |||
34 | blacklist /tmp/.X11-unix | 36 | blacklist /tmp/.X11-unix |
35 | blacklist ${RUNUSER}/wayland-* | 37 | blacklist ${RUNUSER}/wayland-* |
36 | 38 | ||
39 | include allow-perl.inc | ||
40 | include allow-python.inc | ||
41 | |||
37 | include disable-common.inc | 42 | include disable-common.inc |
38 | include disable-devel.inc | 43 | include disable-devel.inc |
44 | include disable-exec.inc | ||
39 | include disable-interpreters.inc | 45 | include disable-interpreters.inc |
40 | include disable-passwdmgr.inc | 46 | include disable-passwdmgr.inc |
41 | include disable-programs.inc | 47 | include disable-programs.inc |
48 | include disable-xdg.inc | ||
42 | 49 | ||
50 | mkfile ${HOME}/.elinks | ||
51 | mkfile ${HOME}/.emacs | ||
52 | mkfile ${HOME}/.mailcap | ||
53 | mkfile ${HOME}/.msmtprc | ||
54 | mkfile ${HOME}/.muttrc | ||
55 | mkfile ${HOME}/.nanorc | ||
56 | mkfile ${HOME}/.signature | ||
57 | mkfile ${HOME}/.vimrc | ||
58 | mkfile ${HOME}/.viminfo | ||
59 | mkfile ${HOME}/.vimrc | ||
60 | mkfile ${HOME}/.w3m | ||
61 | mkdir ${HOME}/.Mail | ||
62 | mkdir ${HOME}/.bogofilter | ||
63 | mkdir ${HOME}/.config/mutt | ||
64 | mkdir ${HOME}/.config/nano | ||
65 | mkdir ${HOME}/.emacs.d | ||
66 | mkdir ${HOME}/.gnupg | ||
67 | mkdir ${HOME}/.mail | ||
68 | mkdir ${HOME}/.mutt | ||
69 | mkdir ${HOME}/.vim | ||
70 | mkdir ${HOME}/Mail | ||
71 | mkdir ${HOME}/mail | ||
72 | mkdir ${HOME}/postponed | ||
73 | mkdir ${HOME}/sent | ||
74 | whitelist ${HOME}/.Mail | ||
75 | whitelist ${HOME}/.bogofilter | ||
76 | whitelist ${HOME}/.config/mutt | ||
77 | whitelist ${HOME}/.config/nano | ||
78 | whitelist ${HOME}/.elinks | ||
79 | whitelist ${HOME}/.emacs | ||
80 | whitelist ${HOME}/.emacs.d | ||
81 | whitelist ${HOME}/.gnupg | ||
82 | whitelist ${HOME}/.mail | ||
83 | whitelist ${HOME}/.mailcap | ||
84 | whitelist ${HOME}/.msmtprc | ||
85 | whitelist ${HOME}/.mutt | ||
86 | whitelist ${HOME}/.muttrc | ||
87 | whitelist ${HOME}/.nanorc | ||
88 | whitelist ${HOME}/.signature | ||
89 | whitelist ${HOME}/.vim | ||
90 | whitelist ${HOME}/.viminfo | ||
91 | whitelist ${HOME}/.vimrc | ||
92 | whitelist ${HOME}/.w3m | ||
93 | whitelist ${HOME}/Mail | ||
94 | whitelist ${HOME}/mail | ||
95 | whitelist ${HOME}/postponed | ||
96 | whitelist ${HOME}/sent | ||
97 | whitelist ${DOCUMENTS} | ||
98 | whitelist ${DOWNLOADS} | ||
99 | whitelist /usr/share/gnupg | ||
100 | whitelist /usr/share/gnupg2 | ||
101 | whitelist /usr/share/mutt | ||
102 | whitelist /var/mail | ||
103 | whitelist /var/spool/mail | ||
104 | include whitelist-common.inc | ||
43 | include whitelist-runuser-common.inc | 105 | include whitelist-runuser-common.inc |
106 | include whitelist-usr-share-common.inc | ||
107 | include whitelist-var-common.inc | ||
44 | 108 | ||
109 | apparmor | ||
45 | caps.drop all | 110 | caps.drop all |
46 | netfilter | 111 | netfilter |
47 | no3d | 112 | no3d |
@@ -56,7 +121,15 @@ novideo | |||
56 | protocol unix,inet,inet6 | 121 | protocol unix,inet,inet6 |
57 | seccomp | 122 | seccomp |
58 | shell none | 123 | shell none |
124 | tracelog | ||
59 | 125 | ||
126 | # disable-mnt | ||
127 | private-cache | ||
60 | private-dev | 128 | private-dev |
129 | private-etc alternatives,ca-certificates,crypto-policies,fonts,gai.conf,gcrypt,gnupg,gnutls,hostname,hosts,hosts.conf,mail,mailname,Mutt,Muttrc,Muttrc.d,nntpserver,nsswitch.conf,passwd,pki,resolv.conf,ssl,terminfo,xdg | ||
130 | private-tmp | ||
61 | writable-run-user | 131 | writable-run-user |
62 | writable-var | 132 | writable-var |
133 | |||
134 | dbus-user none | ||
135 | dbus-system none | ||
diff --git a/etc/profile-m-z/neomutt.profile b/etc/profile-m-z/neomutt.profile new file mode 100644 index 000000000..d71dc618b --- /dev/null +++ b/etc/profile-m-z/neomutt.profile | |||
@@ -0,0 +1,143 @@ | |||
1 | # Firejail profile for neomutt | ||
2 | # Description: Mutt fork with advanced features and better documentation | ||
3 | quiet | ||
4 | # This file is overwritten after every install/update | ||
5 | # Persistent local customizations | ||
6 | include neomutt.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist /var/mail | ||
11 | noblacklist /var/spool/mail | ||
12 | noblacklist ${HOME}/.Mail | ||
13 | noblacklist ${HOME}/.bogofilter | ||
14 | noblacklist ${HOME}/.config/mutt | ||
15 | noblacklist ${HOME}/.config/nano | ||
16 | noblacklist ${HOME}/.config/neomutt | ||
17 | noblacklist ${HOME}/.elinks | ||
18 | noblacklist ${HOME}/.emacs | ||
19 | noblacklist ${HOME}/.emacs.d | ||
20 | noblacklist ${HOME}/.gnupg | ||
21 | noblacklist ${HOME}/.mail | ||
22 | noblacklist ${HOME}/.mailcap | ||
23 | noblacklist ${HOME}/.msmtprc | ||
24 | noblacklist ${HOME}/.mutt | ||
25 | noblacklist ${HOME}/.muttrc | ||
26 | noblacklist ${HOME}/.nanorc | ||
27 | noblacklist ${HOME}/.neomutt | ||
28 | noblacklist ${HOME}/.neomuttrc | ||
29 | noblacklist ${HOME}/.signature | ||
30 | noblacklist ${HOME}/.vim | ||
31 | noblacklist ${HOME}/.viminfo | ||
32 | noblacklist ${HOME}/.vimrc | ||
33 | noblacklist ${HOME}/.w3m | ||
34 | noblacklist ${HOME}/Mail | ||
35 | noblacklist ${HOME}/mail | ||
36 | noblacklist ${HOME}/postponed | ||
37 | noblacklist ${HOME}/sent | ||
38 | |||
39 | blacklist /tmp/.X11-unix | ||
40 | blacklist ${RUNUSER}/wayland-* | ||
41 | |||
42 | include allow-lua.inc | ||
43 | |||
44 | include disable-common.inc | ||
45 | include disable-devel.inc | ||
46 | include disable-exec.inc | ||
47 | include disable-interpreters.inc | ||
48 | include disable-passwdmgr.inc | ||
49 | include disable-programs.inc | ||
50 | include disable-xdg.inc | ||
51 | |||
52 | mkfile ${HOME}/.elinks | ||
53 | mkfile ${HOME}/.emacs | ||
54 | mkfile ${HOME}/.mailcap | ||
55 | mkfile ${HOME}/.msmtprc | ||
56 | mkfile ${HOME}/.muttrc | ||
57 | mkfile ${HOME}/.nanorc | ||
58 | mkfile ${HOME}/.neomuttrc | ||
59 | mkfile ${HOME}/.signature | ||
60 | mkfile ${HOME}/.vimrc | ||
61 | mkfile ${HOME}/.viminfo | ||
62 | mkfile ${HOME}/.vimrc | ||
63 | mkfile ${HOME}/.w3m | ||
64 | mkdir ${HOME}/.Mail | ||
65 | mkdir ${HOME}/.bogofilter | ||
66 | mkdir ${HOME}/.config/mutt | ||
67 | mkdir ${HOME}/.config/nano | ||
68 | mkdir ${HOME}/.config/neomutt | ||
69 | mkdir ${HOME}/.emacs.d | ||
70 | mkdir ${HOME}/.gnupg | ||
71 | mkdir ${HOME}/.mail | ||
72 | mkdir ${HOME}/.mutt | ||
73 | mkdir ${HOME}/.neomutt | ||
74 | mkdir ${HOME}/.vim | ||
75 | mkdir ${HOME}/Mail | ||
76 | mkdir ${HOME}/mail | ||
77 | mkdir ${HOME}/postponed | ||
78 | mkdir ${HOME}/sent | ||
79 | whitelist ${HOME}/.Mail | ||
80 | whitelist ${HOME}/.bogofilter | ||
81 | whitelist ${HOME}/.config/mutt | ||
82 | whitelist ${HOME}/.config/nano | ||
83 | whitelist ${HOME}/.config/neomutt | ||
84 | whitelist ${HOME}/.elinks | ||
85 | whitelist ${HOME}/.emacs | ||
86 | whitelist ${HOME}/.emacs.d | ||
87 | whitelist ${HOME}/.gnupg | ||
88 | whitelist ${HOME}/.mail | ||
89 | whitelist ${HOME}/.mailcap | ||
90 | whitelist ${HOME}/.msmtprc | ||
91 | whitelist ${HOME}/.mutt | ||
92 | whitelist ${HOME}/.muttrc | ||
93 | whitelist ${HOME}/.nanorc | ||
94 | whitelist ${HOME}/.neomutt | ||
95 | whitelist ${HOME}/.neomuttrc | ||
96 | whitelist ${HOME}/.signature | ||
97 | whitelist ${HOME}/.vim | ||
98 | whitelist ${HOME}/.viminfo | ||
99 | whitelist ${HOME}/.vimrc | ||
100 | whitelist ${HOME}/.w3m | ||
101 | whitelist ${HOME}/Mail | ||
102 | whitelist ${HOME}/mail | ||
103 | whitelist ${HOME}/postponed | ||
104 | whitelist ${HOME}/sent | ||
105 | whitelist ${DOCUMENTS} | ||
106 | whitelist ${DOWNLOADS} | ||
107 | whitelist /usr/share/gnupg | ||
108 | whitelist /usr/share/gnupg2 | ||
109 | whitelist /usr/share/neomutt | ||
110 | whitelist /var/mail | ||
111 | whitelist /var/spool/mail | ||
112 | include whitelist-common.inc | ||
113 | include whitelist-runuser-common.inc | ||
114 | include whitelist-usr-share-common.inc | ||
115 | include whitelist-var-common.inc | ||
116 | |||
117 | apparmor | ||
118 | caps.drop all | ||
119 | netfilter | ||
120 | no3d | ||
121 | nodvd | ||
122 | nogroups | ||
123 | nonewprivs | ||
124 | noroot | ||
125 | nosound | ||
126 | notv | ||
127 | nou2f | ||
128 | novideo | ||
129 | protocol unix,inet,inet6 | ||
130 | seccomp | ||
131 | shell none | ||
132 | tracelog | ||
133 | |||
134 | # disable-mnt | ||
135 | private-cache | ||
136 | private-dev | ||
137 | private-etc alternatives,ca-certificates,crypto-policies,dconf,fonts,gcrypt,gnupg,hostname,hosts,hosts.conf,mail,mailname,Mutt,Muttrc,Muttrc.d,neomuttrc,neomuttrc.d,nntpserver,nsswitch.conf,passwd,pki,resolv.conf,ssl,xdg | ||
138 | private-tmp | ||
139 | writable-run-user | ||
140 | writable-var | ||
141 | |||
142 | dbus-user none | ||
143 | dbus-system none | ||