X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/7382bd3abbcd607adfee3a0ae91f4b3657356135..e4a02e59d4f17728f0c6ddff5f18d47823b51946:/.mutt/hooks?ds=sidebyside diff --git a/.mutt/hooks b/.mutt/hooks index 8ca1610..1adb090 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 '~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' -#send-hook '~C -request@' 'my_hdr X-Record: discard' fcc-hook -request@ '=discard' send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign'