diff --git a/mutt/.config/firejail/mutt.profile b/mutt/.config/firejail/mutt.profile new file mode 100644 index 0000000..1a61004 --- /dev/null +++ b/mutt/.config/firejail/mutt.profile @@ -0,0 +1,49 @@ +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include /etc/firejail/mutt.local + +# mutt email client profile +noblacklist ~/.muttrc +noblacklist ~/.mutt +noblacklist ~/.mutt/muttrc +noblacklist ~/.mailcap +noblacklist ~/.gnupg +noblacklist ~/.mail +noblacklist ~/.Mail +noblacklist ~/mail +noblacklist ~/Mail +noblacklist ~/sent +noblacklist ~/postponed +noblacklist ~/.cache/mutt +noblacklist ~/.w3m +noblacklist ~/.elinks +noblacklist ~/.vim +noblacklist ~/.vimrc +noblacklist ~/.viminfo +noblacklist ~/.emacs +noblacklist ~/.emacs.d +noblacklist ~/.signature +noblacklist ~/.bogofilter +noblacklist ~/.msmtprc +noblacklist ~/.cache/qutebrowser +noblacklist ~/.config/qutebrowser + +include /etc/firejail/disable-common.inc +include /etc/firejail/disable-programs.inc +include /etc/firejail/disable-passwdmgr.inc +include /etc/firejail/disable-devel.inc + +caps.drop all +netfilter +nogroups +nonewprivs +noroot +nosound +no3d +protocol unix,inet,inet6 +seccomp +shell none + +blacklist /tmp/.X11-unix + +private-dev diff --git a/mutt/.muttrc b/mutt/.muttrc index 998a0be..f3b2270 100644 --- a/mutt/.muttrc +++ b/mutt/.muttrc @@ -1,6 +1,4 @@ -folder-hook 'account.com.gmail.alrayyes' 'source ~/.mutt/account.com.gmail.alrayyes' -folder-hook 'account.nl.andthensome.ryan' 'source ~/.mutt/account.nl.andthensome.ryan' - +source ~/.mutt/mailboxes source ~/.mutt/account.com.gmail.alrayyes source ~/.mutt/muttcol @@ -10,15 +8,14 @@ set imap_keepalive = 900 set date_format="%m/%d %I:%M" set index_format="%2C %Z %d %-15.15F %s (%-4.4c)" - # pgp stuff set pgp_replyencrypt # now crypt_replyencrypt set pgp_replysign # now crypt_replysign set pgp_replysignencrypted # now crypt_replysignencrypted set pgp_show_unusable=no -macro index 'source ~/.mutt/account.com.gmail.alrayyes!' -macro index 'source ~/.mutt/account.nl.andthensome.ryan!' +macro index 'source ~/.mutt/account.com.gmail.alrayyes!' +macro index 'source ~/.mutt/account.nl.andthensome.ryan!' mono bold bold mono underline underline @@ -33,17 +30,6 @@ color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ bind editor noop -macro index,pager y "=[Gmail]/All Mail" "Archive" -macro index,pager d "=[Gmail]/Trash" "Trash" - -# Gmail-style keyboard shortcuts -macro index,pager ga "=[Gmail]/All" "Go to all mail" -macro index,pager gi "=INBOX" "Go to inbox" -macro index,pager gs "=[Gmail]/Starred" "Go to starred messages" -macro index,pager gd "=[Gmail]/Drafts" "Go to drafts" -macro index,pager e "unset trash\n " "Gmail archive message" # different from Gmail, but wanted to keep "y" to show folders. - -bind index G imap-fetch-mail # Goobook set query_command="goobook query %s" diff --git a/notmuch/.notmuch-config b/notmuch/.notmuch-config new file mode 100644 index 0000000..d71f9f7 --- /dev/null +++ b/notmuch/.notmuch-config @@ -0,0 +1,98 @@ +# .notmuch-config - Configuration file for the notmuch mail system +# +# For more information about notmuch, see https://notmuchmail.org + +# Database configuration +# +# The only value supported here is 'path' which should be the top-level +# directory where your mail currently exists and to where mail will be +# delivered in the future. Files should be individual email messages. +# Notmuch will store its database within a sub-directory of the path +# configured here named ".notmuch". +# +[database] +path=/home/alrayyes/mail + +# User configuration +# +# Here is where you can let notmuch know how you would like to be +# addressed. Valid settings are +# +# name Your full name. +# primary_email Your primary email address. +# other_email A list (separated by ';') of other email addresses +# at which you receive email. +# +# Notmuch will use the various email addresses configured here when +# formatting replies. It will avoid including your own addresses in the +# recipient list of replies, and will set the From address based on the +# address to which the original email was addressed. +# +[user] +name=Ryan Kes +primary_email=alrayyes@gmail.com +other_email=ryan@andthensome.nl; + +# Configuration for "notmuch new" +# +# The following options are supported here: +# +# tags A list (separated by ';') of the tags that will be +# added to all messages incorporated by "notmuch new". +# +# ignore A list (separated by ';') of file and directory names +# that will not be searched for messages by "notmuch new". +# +# NOTE: *Every* file/directory that goes by one of those +# names will be ignored, independent of its depth/location +# in the mail store. +# +[new] +tags=unread;inbox; +ignore= + +# Search configuration +# +# The following option is supported here: +# +# exclude_tags +# A ;-separated list of tags that will be excluded from +# search results by default. Using an excluded tag in a +# query will override that exclusion. +# +[search] +exclude_tags=deleted;spam; + +# Maildir compatibility configuration +# +# The following option is supported here: +# +# synchronize_flags Valid values are true and false. +# +# If true, then the following maildir flags (in message filenames) +# will be synchronized with the corresponding notmuch tags: +# +# Flag Tag +# ---- ------- +# D draft +# F flagged +# P passed +# R replied +# S unread (added when 'S' flag is not present) +# +# The "notmuch new" command will notice flag changes in filenames +# and update tags, while the "notmuch tag" and "notmuch restore" +# commands will notice tag changes and update flags in filenames +# +[maildir] +synchronize_flags=true + +# Cryptography related configuration +# +# The following option is supported here: +# +# gpg_path +# binary name or full path to invoke gpg. +# +[crypto] +gpg_path=gpg diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc index 9665eee..4db15cf 100644 --- a/offlineimap/.offlineimaprc +++ b/offlineimap/.offlineimaprc @@ -12,7 +12,7 @@ autorefresh = 0.5 quick = 10 [Repository gmail-local] -type = GmailMaildir +type = Maildir localfolders = ~/mail/gmail [Repository gmail-remote] @@ -37,7 +37,7 @@ autorefresh = 0.5 quick = 10 [Repository andthensome-local] -type = GmailMaildir +type = Maildir localfolders = ~/mail/andthensome [Repository andthensome-remote]