]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/muttrc
vim: add choice snippet for sh
[dotfiles.git] / mutt / muttrc
index f94f1c50d972cbae78d0b0dba567ce67c60bf614..9c19c8648cc461476955ff84546025a05b31a15d 100644 (file)
@@ -59,6 +59,7 @@ set tilde             = yes   # fills end of messages with tilde
 set markers           = no
 set mark_old          = no    # leave messages as new if unread
 set status_on_top     = yes   # also help on bottom
 set markers           = no
 set mark_old          = no    # leave messages as new if unread
 set status_on_top     = yes   # also help on bottom
+set wait_key          = no    # don't wait for enter key
 set index_format="[%Z] %{%e/%m} %15.15L  %?M?+ ?%s"
 
 # header
 set index_format="[%Z] %{%e/%m} %15.15L  %?M?+ ?%s"
 
 # header
@@ -81,13 +82,11 @@ set postponed    = "+gmail/drafts"  # drafts folder
 set header_cache = "~/.cache/mutt"  # cache headers for speedss
 source ~/.mutt/mailboxes            # source mailboxes generetated by offlineimap
 
 set header_cache = "~/.cache/mutt"  # cache headers for speedss
 source ~/.mutt/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
-set send_charset="us-ascii:utf-8"   # only use ascii and utf8
+# SMTP: msmtp
+set sendmail = /usr/bin/msmtp       # use msmtp
+set send_charset="utf-8"            # only utf8
 
 # GnuPG
 
 # 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
 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
@@ -97,6 +96,11 @@ 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
 
 set pgp_use_gpg_agent        = yes  # don't ask for passwords
 source /usr/share/doc/mutt/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 ~/.mutt/hooks
 source ~/.mutt/bindings
 source ~/.mutt/colors/badfox         # color theme