From e482176d3fc077cdb56ea0fd00024d844f1c1cc7 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 26 May 2010 18:50:28 +0200 Subject: [PATCH 1/1] prevent from sending to $hostname --- .mutt/hooks | 3 +++ 1 file changed, 3 insertions(+) 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' -- 2.39.5