[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: Feature Request - don't encrypt when sending to mailing list
From:       Jeremy Blosser <jblosser () firinn ! org>
Date:       2001-04-09 6:47:51
[Download RAW message or body]

Christian Biesinger [cbiesinger@web.de] 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   |   jblosser@firinn.org   |   http://jblosser.firinn.org/
-----------------+-------------------------+------------------------------
the crises posed a question / just beneath the skin
the virtue in my veins replied / that quitters never win

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic