X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/04eb36596a3d9f8163ff87a89025d3fba3024bcb..063bbf05f6c593a47a8ddef095ddfb63ef2dcea5:/.mutt/hooks?ds=sidebyside diff --git a/.mutt/hooks b/.mutt/hooks index 906ba4a..4613eda 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,7 +1,9 @@ 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'