X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/ea36eed7af5f5e0e28b8d60f55abda2997cb1a08..e4a02e59d4f17728f0c6ddff5f18d47823b51946:/.mutt/hooks?ds=inline diff --git a/.mutt/hooks b/.mutt/hooks index 0856dc8..1adb090 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,11 +1,12 @@ save-hook . =store send2-hook . 'reset sendmail' -send2-hook '~L notyet' "set sendmail='~/.mutt/error 1 I will not send this draft yet!'" +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!'" -#send-hook '~C @bugs\.debian\.org' 'my_hdr X-Debbugs-No-Ack: please spare me' 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'