-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add whitelisting to mutt; improve geary, new profile for neomutt
- Loading branch information
Showing
4 changed files
with
268 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
# Firejail profile for neomutt | ||
# Description: Mutt fork with advanced features and better documentation | ||
quiet | ||
# This file is overwritten after every install/update | ||
# Persistent local customizations | ||
include neomutt.local | ||
# Persistent global definitions | ||
include globals.local | ||
|
||
noblacklist /var/mail | ||
noblacklist /var/spool/mail | ||
noblacklist ${HOME}/.Mail | ||
noblacklist ${HOME}/.bogofilter | ||
noblacklist ${HOME}/.config/mutt | ||
noblacklist ${HOME}/.config/nano | ||
noblacklist ${HOME}/.config/neomutt | ||
noblacklist ${HOME}/.elinks | ||
noblacklist ${HOME}/.emacs | ||
noblacklist ${HOME}/.emacs.d | ||
noblacklist ${HOME}/.gnupg | ||
noblacklist ${HOME}/.mail | ||
noblacklist ${HOME}/.mailcap | ||
noblacklist ${HOME}/.msmtprc | ||
noblacklist ${HOME}/.mutt | ||
noblacklist ${HOME}/.muttrc | ||
noblacklist ${HOME}/.nanorc | ||
noblacklist ${HOME}/.neomutt | ||
noblacklist ${HOME}/.neomuttrc | ||
noblacklist ${HOME}/.signature | ||
noblacklist ${HOME}/.vim | ||
noblacklist ${HOME}/.viminfo | ||
noblacklist ${HOME}/.vimrc | ||
noblacklist ${HOME}/.w3m | ||
noblacklist ${HOME}/Mail | ||
noblacklist ${HOME}/mail | ||
noblacklist ${HOME}/postponed | ||
noblacklist ${HOME}/sent | ||
|
||
blacklist /tmp/.X11-unix | ||
blacklist ${RUNUSER}/wayland-* | ||
|
||
include allow-lua.inc | ||
|
||
include disable-common.inc | ||
include disable-devel.inc | ||
include disable-exec.inc | ||
include disable-interpreters.inc | ||
include disable-passwdmgr.inc | ||
include disable-programs.inc | ||
include disable-xdg.inc | ||
|
||
mkfile ${HOME}/.elinks | ||
mkfile ${HOME}/.emacs | ||
mkfile ${HOME}/.mailcap | ||
mkfile ${HOME}/.msmtprc | ||
mkfile ${HOME}/.muttrc | ||
mkfile ${HOME}/.nanorc | ||
mkfile ${HOME}/.neomuttrc | ||
mkfile ${HOME}/.signature | ||
mkfile ${HOME}/.vimrc | ||
mkfile ${HOME}/.viminfo | ||
mkfile ${HOME}/.vimrc | ||
mkfile ${HOME}/.w3m | ||
mkdir ${HOME}/.Mail | ||
mkdir ${HOME}/.bogofilter | ||
mkdir ${HOME}/.config/mutt | ||
mkdir ${HOME}/.config/nano | ||
mkdir ${HOME}/.config/neomutt | ||
mkdir ${HOME}/.emacs.d | ||
mkdir ${HOME}/.gnupg | ||
mkdir ${HOME}/.mail | ||
mkdir ${HOME}/.mutt | ||
mkdir ${HOME}/.neomutt | ||
mkdir ${HOME}/.vim | ||
mkdir ${HOME}/Mail | ||
mkdir ${HOME}/mail | ||
mkdir ${HOME}/postponed | ||
mkdir ${HOME}/sent | ||
whitelist ${HOME}/.Mail | ||
whitelist ${HOME}/.bogofilter | ||
whitelist ${HOME}/.config/mutt | ||
whitelist ${HOME}/.config/nano | ||
whitelist ${HOME}/.config/neomutt | ||
whitelist ${HOME}/.elinks | ||
whitelist ${HOME}/.emacs | ||
whitelist ${HOME}/.emacs.d | ||
whitelist ${HOME}/.gnupg | ||
whitelist ${HOME}/.mail | ||
whitelist ${HOME}/.mailcap | ||
whitelist ${HOME}/.msmtprc | ||
whitelist ${HOME}/.mutt | ||
whitelist ${HOME}/.muttrc | ||
whitelist ${HOME}/.nanorc | ||
whitelist ${HOME}/.neomutt | ||
whitelist ${HOME}/.neomuttrc | ||
whitelist ${HOME}/.signature | ||
whitelist ${HOME}/.vim | ||
whitelist ${HOME}/.viminfo | ||
whitelist ${HOME}/.vimrc | ||
whitelist ${HOME}/.w3m | ||
whitelist ${HOME}/Mail | ||
whitelist ${HOME}/mail | ||
whitelist ${HOME}/postponed | ||
whitelist ${HOME}/sent | ||
whitelist ${DOCUMENTS} | ||
whitelist ${DOWNLOADS} | ||
whitelist /usr/share/gnupg | ||
whitelist /usr/share/gnupg2 | ||
whitelist /usr/share/neomutt | ||
whitelist /var/mail | ||
whitelist /var/spool/mail | ||
include whitelist-common.inc | ||
include whitelist-runuser-common.inc | ||
include whitelist-usr-share-common.inc | ||
include whitelist-var-common.inc | ||
|
||
apparmor | ||
caps.drop all | ||
netfilter | ||
no3d | ||
nodvd | ||
nogroups | ||
nonewprivs | ||
noroot | ||
nosound | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix,inet,inet6 | ||
seccomp | ||
shell none | ||
tracelog | ||
|
||
# disable-mnt | ||
private-cache | ||
private-dev | ||
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 | ||
private-tmp | ||
writable-run-user | ||
writable-var | ||
|
||
dbus-user none | ||
dbus-system none |