X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/e482176d3fc077cdb56ea0fd00024d844f1c1cc7..d266a6bdf52b583867693e755746aa632766e18f:/.mutt/hooks diff --git a/.mutt/hooks b/.mutt/hooks index 6f1a5d4..dfae739 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,20 +1,17 @@ save-hook . =store -send2-hook . 'reset sendmail' -send2-hook '~L notyet' "set sendmail='~/.mutt/error 1 I will not send this draft yet!'" -# this next works in combination with $use_domain to ensure I don't send -# without expanding aliases: -send2-hook '~L @$hostname' "set sendmail='~/.mutt/error 1 Check your recipients!'" - send2-hook '~C @packages\.qa\.debian\.org' 'my_hdr X-PTS-Approved: please' fcc-hook -request@ '=discard' -send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign' +send-hook '~s "Re: confirm" ~t -request@' 'push pf' + +send-hook '~f @pobox\.madduck\.net' 'push pf' # do not set M-F-T on mails to the git mailing list send2-hook . 'set followup_to' send2-hook '~C git@vger\.kernel\.org' 'unset followup_to' +send2-hook . 'unset envelope_from' send2-hook '~C @members\.ebay\.com' 'set envelope_from' # do a for L when sending to the git mailing list @@ -33,6 +30,9 @@ folder-hook spam push '~On folder-hook . 'set pager_index_lines=5' folder-hook feeds|mass 'set pager_index_lines=10' +folder-hook . 'set mark_old' +folder-hook drafts|store|feeds 'unset mark_old' + folder-hook store push '~O|~Nn*' # since I have delete=yes, messages marked for trashing on mailbox entry must