From: martin f. krafft Date: Wed, 26 May 2010 16:50:28 +0000 (+0200) Subject: prevent from sending to $hostname X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/e482176d3fc077cdb56ea0fd00024d844f1c1cc7?ds=sidebyside prevent from sending to $hostname --- diff --git a/.mutt/hooks b/.mutt/hooks index 906ba4a..6f1a5d4 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -2,6 +2,9 @@ save-hook . =store 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'