X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/401d2c7f840f9868c2a5daf441709c74482b25be..d2da3e9ac932075fcfb716f6a9aeda72417e3970:/mutt/muttrc diff --git a/mutt/muttrc b/mutt/muttrc index 834ee21..0d89878 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -1,8 +1,13 @@ +set my_config_dir = $XDG_CONFIG_HOME/mutt + # general settings alternates -group me samir.benmendil@gmail.com ram-z@hotmail.com @rmz.io alternates -group me -group chakra ram-z@chakra chakra@rmz.io alternates -group me -group unimaas s.benmendil@student.maastrichtuniversity.nl alternates -group me -group cadscan sb@cad-scan.co.uk +alternates -group me -group ultrahaptics samir.benmendil@ultrahaptics.com + +group -group ultrahaptics -rx @ultrahaptics.com set mail_check = 0 set envelope_from @@ -69,26 +74,24 @@ unhdr_order * hdr_order from: to: cc: date: subject: x-clacks-overhead: # deal with crap -set mailcap_path = ~/.mutt/mailcap +set mailcap_path = $my_config_dir/mailcap auto_view text/html # view html automatically alternative_order text/plain text/enriched text/html # save html for last # IMAP: offlineimap -set folder = "~/mail" # mail folder +set folder = "$MAILDIR" # mail folder set spoolfile = "+gmail/inbox" # set inbox unset record # do not move sent msgs to a folder, gmail does that unset move # do not move read msgs, gmail does that set postponed = "+gmail/drafts" # drafts folder set header_cache = "~/.cache/mutt" # cache headers for speedss -source ~/.mutt/mailboxes # source mailboxes generetated by offlineimap +source mailboxes # source mailboxes generetated by offlineimap -# SMTP: msmtp (with queue) -set sendmail = ~/.msmtp/msmtpq # use msmtp message queue -set sendmail_wait = -1 # fork sendmail to the background +# SMTP: msmtp +set sendmail = /usr/bin/msmtp # use msmtp set send_charset="utf-8" # only utf8 # GnuPG -set crypt_autosign = yes # autosign messages set crypt_replyencrypt = yes # encrypt replies to encrypted messages set crypt_replysign = yes # sign replies to signed messages set crypt_replysignencrypted = yes # you get the idea @@ -96,8 +99,13 @@ set crypt_verify_sig = yes # verify signatures set pgp_long_ids = yes # use 64 bit key IDs set pgp_mime_auto = no # don't fallback to inline mime set pgp_use_gpg_agent = yes # don't ask for passwords -source /usr/share/doc/mutt/samples/gpg.rc +source /usr/share/doc/neomutt/samples/gpg.rc + +group -group nosign -rx .*@bitbucket.org +group -group nosign -rx jira@.*atlassian.net +send-hook . "set crypt_autosign = yes" +send-hook "%t nosign" "set crypt_autosign = no" -source ~/.mutt/hooks -source ~/.mutt/bindings -source ~/.mutt/colors/badfox # color theme +source hooks +source bindings +source colors/badfox # color theme