X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/04eb36596a3d9f8163ff87a89025d3fba3024bcb..e4a02e59d4f17728f0c6ddff5f18d47823b51946:/.mutt/hooks diff --git a/.mutt/hooks b/.mutt/hooks index 906ba4a..1adb090 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,7 +1,10 @@ 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!'" send2-hook '~C @packages\.qa\.debian\.org' 'my_hdr X-PTS-Approved: please'