sign/encrypt from command line

Tomas Persson tomaspersson at gmx.com
Fri Mar 20 07:42:57 UTC 2026


Hello!

Two of the main reasons that I use mutt is that

1) It works well with and is easy to use with GPG.

2) It is possible to send emails from the command line with
   commands such as   
   echo 'Hello!\nGood bye!' | mutt -s Subject tomaspersson at gmx.com

However, I have difficulties combining these two. Is there a way
to also cryptographically sign the message sent with the command
above? And what about encryption?

In my muttrc file, I have "set crypt_autosign = yes", but this
seems only to affect mutt's behaviour when run in interactive
way.

Cheers,
Tomas Persson


More information about the Mutt-users mailing list