Re: Feature Request - don't encrypt when sending to mailing list

2001-04-10 Thread David

David wrote:
 send-hook ~l 'push f^Uenterpsenter'

Okay well that should have been just:

send-hook ~l 'push psenter'

I have f^U as i dont want to save my messages i send to mailing lists as
they get sent back to me anyway.

-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723
David Clarke [EMAIL PROTECTED] || [EMAIL PROTECTED]

 PGP signature


Re: Feature Request - don't encrypt when sending to mailing list

2001-04-09 Thread Aaron Schrab

At 16:00 +0200 08 Apr 2001, Christian Biesinger [EMAIL PROTECTED] wrote:
 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.

You're right, you can use send-hook for this, but you're wrong about
needing to specify each mailing list:

send-hook ~A 'set crypt_autoencrypt'
send-hook ~l 'unset crypt_autoencrypt'

The ~l pattern will match if the message is going to a known list.

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 If you consistently take an antagonistic approach, however, people
 are going to start thinking you're from New York.   :-)
   --Larry Wall to Dan Bernstein




Re: Feature Request - don't encrypt when sending to mailing list

2001-04-09 Thread David

Christian Biesinger wrote:
 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.

If you have already added the mailing lists to the subscribe list in
your muttrc then all you have to do is use a send hook like:

send-hook ~l 'push f^Uenterpsenter'

This signs all messages to any mailing lists that are listed in
subscribe in your muttrc.  (~l represents mailing lists)

Have a look at "man muttrc" for more ideas on send-hooks


-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723
David Clarke [EMAIL PROTECTED] || [EMAIL PROTECTED]




Re: Feature Request - don't encrypt when sending to mailing list

2001-04-09 Thread Christian Biesinger

On Sun, Apr 08, 2001 at 09:37:06PM -0500, Aaron Schrab wrote:
 send-hook ~l 'unset crypt_autoencrypt'
 
 The ~l pattern will match if the message is going to a known list.

Hm...
This works fine for lists I'm subscribed to.

It doesn't work, though, for the lists I'm not subscribed to. Yes,
Mutt knows about them - I used the "lists" command for them.

Should ~l match them as well?

-- 
Encrypted Emails strongly preferred!
Get PGP from: http://www.pgpi.org
PGP-Key: 1024D/DFFE21F1 - Get it from http://mmc.sourceforge.net/biesi.asc
Key fingerprint = E60D 24FC BBC5 97CE 5421  C0FE 311B 7F82 DFFE 21F1

 PGP signature


Re: Feature Request - don't encrypt when sending to mailing list

2001-04-09 Thread Jeremy Blosser

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




Feature Request - don't encrypt when sending to mailing list

2001-04-08 Thread Christian Biesinger

Hello!
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.

PS: Please CC me on replies, I'm not subscribed to this list.
-- 
Encrypted Emails strongly preferred!
Get PGP from: http://www.pgpi.org
PGP-Key: 1024D/DFFE21F1 - Get it from http://mmc.sourceforge.net/biesi.asc
Key fingerprint = E60D 24FC BBC5 97CE 5421  C0FE 311B 7F82 DFFE 21F1

 PGP signature