On Tue, Jul 09, 2002 at 08:06:33PM +0300, Odhiambo Washington wrote:
> 1. How do I tell mutt to automatically encrypt all messages addressed
>    to user1@domain1, user2@domain2 ???
send-hook . "set pgp_autoencrypt=no"
send-hook user1@domain1|user2@domain2 "set pgp_autoencrypt=yes"

The first line makes sure autoencrypt is off by default (even after
you've sent a message to one of the autoencrypt recipients).  The
second line turns it on when sending to one of the given addresses.
You could also have one send-hook line per address, which would probably
result in an easier-to-maintain list.

-- 
Mark REED                    | CNN Internet Technology
1 CNN Center Rm SW0831G      | [EMAIL PROTECTED]
Atlanta, GA 30348      USA   | +1 404 827 4754 
--
Small is beautiful.

Reply via email to