X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/7382bd3abbcd607adfee3a0ae91f4b3657356135..e482176d3fc077cdb56ea0fd00024d844f1c1cc7:/.mutt/hooks?ds=inline diff --git a/.mutt/hooks b/.mutt/hooks index 8ca1610..6f1a5d4 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,8 +1,12 @@ save-hook . =store -#send-hook '~C @bugs\.debian\.org' 'my_hdr X-Debbugs-No-Ack: please spare me' +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' -#send-hook '~C -request@' 'my_hdr X-Record: discard' fcc-hook -request@ '=discard' send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign'