On Tue, Jun 07, 2022 at 08:31:50PM +0200, Marcus C. Gottwald wrote:
> bwalton.22...@leepfrog.com asked (Tue 2022-Jun-07 10:26:50 -0500):
>> Is there a way to configure my muttrc so that when I press "y" to
>> send the message, it will prompt for confirmation before actually
>> sending?
> 
> In order to avoid accidentally sending a message because of fat
> fingers, I moved from using "y" to "Y":
> 
>    bind compose y noop
>    bind compose Y send-message

Instead of having Mutt invoke your MTA, you could have it invoke a
script that asks you if you really want to send that email, and that
only invokes your MTA if the answer is yes.

(You could probably modify msmtp-queue to do this, for instance.)

-- 
A: When it messes up the order in which people normally read text.
Q: When is top-posting a bad thing?

()  ASCII ribbon campaign. Please avoid HTML emails & proprietary
/\  file formats. (Why? See e.g. https://v.gd/jrmGbS ). Thank you.

Reply via email to