Christian Biesinger [[EMAIL PROTECTED]] wrote:
> Currently, I've configured Mutt to always encrypt messages I send.
>
> However, sometimes I send mails to mailing lists.
> Mutt knows about them (I've got entries for them in my ~/.muttrc using
> lists or subscribe).
>
> However, usually mails to mailing lists should not be encrypted.
> It would be nice if there was an option for mutt to not encrypt mails
> for mailing lists, even though I've set crypt_autoencrypt to yes (I've
> installed the S/MIME patch).
>
> I know that I could use send-hook for this, but then I'd have to add
> every mailing list to send-hook as well as to lists/subscribe.
No, you should be able to get it working via send-hooks just using the ~l
pattern (message is being sent to a known mailing list).
Something like:
send-hook . "set crypt_autoencrypt"
send-hook ~l "unset crypt_autoencrypt"
--
Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/
-----------------+-------------------------+------------------------------
the crises posed a question / just beneath the skin
the virtue in my veins replied / that quitters never win