On Tue, Jul 07, 2009 at 02:06:23PM +0200, Rocco Rutte wrote:
Please see if this example and text above it helps you: http://dev.mutt.org/doc/manual.html#ex-recips
When was this added? I'm using Mutt 1.5.17+20080114 (Ubuntu Hardy), and have a similar request. I usually PGP sign emails sent direct to recipients (I turn it off for lists). I have one person who I want to also encrypt the email to. Currently I have this:
# sign, but don't encrypt, and use a new-style signature, by default. # Since we're going to modify the default for certain recipients below, we
# can't just set the variable, but have to set them in a "match all" send-hook send-hook "~A" set pgp_create_traditional=no send-hook "~A" set pgp_autosign=yes send-hook "~A" set pgp_autoencrypt=no # "Joe" has several email addresses, but they all start with the same prefix send-hook "~t joe@" set pgp_autoencrypt=yes # ...This autoencrypts whenever I email Joe directly (what I want) and when I email him and several others (not what I want). I have to remember to turn off encryption in that case.
send-hook "^~t joe@" set pgp_autoencrypt=yesI thought that this would do what I want, but it doesn't seem to do anything different than the non-^ version above.
Ed
Attachment:
signature.txt
Description: Digital signature