[qubes-users] Automatically using inline PGP for qubes-devel and qubes-users

I figured out how to tell Mutt to use inline PGP for messages to be sent
to qubes-devel and qubes-users, without changing the default for all
other messages. If (as I do) you default to encrypting all messages,
this can be done with the following in muttrc:

    send2-hook '~A' "unset pgp_autoinline; set crypt_autoencrypt; set crypt_protected_headers_write"
    send2-hook '~C ^qubes-(users\|devel)@googlegroups\\.com$' "set pgp_autoinline; unset crypt_autoencrypt"

The first line matches all messages, enables automatic encryption using
PGP/MIME, and enables encryption of Subject: headers. The second line
matches messages to qubes-devel and qubes-users, disables automatic
encryption, and causes messages to be signed using inline PGP instead of
PGP/MIME. The first line is necessary because the effects of a hook are
not reverted automatically.
- --
Demi Marie Obenour (she/her/hers)
Invisible Things Lab