X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/e4a02e59d4f17728f0c6ddff5f18d47823b51946..c48a8b358a709e4149636669bac4c75fddb09047:/.mutt/hooks diff --git a/.mutt/hooks b/.mutt/hooks index 1adb090..dfae739 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,20 +1,17 @@ save-hook . =store -send2-hook . 'reset sendmail' -send2-hook '~C 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 '~C @$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