On Mon, Sep 24, 2001 at 04:55:26PM -0400, Derek D. Martin wrote:
> I have been using mutt with pgp for some time now, but I've now got
> enough people that I want to send encrypted mail to on a regular basis
> that I'd like to have mutt automatically encrypt mail to everyone for
> whom I have public keys, and just leave it unencrytped for everyone
> else. I looked through the manual, and though it seems like send-hook
> and/or auto-encrypt might be helpful for this, there's nothing clear
> that I could find in the manual to explain how to do this. Anyone
> have pointers?
something like this.
add to your .muttrc:
source .muttrc.autoenc
and add a cronjob:
gpg --list-keys | perl -n -e '/(<.*?>)/; print "send-hook $1 \"set
pgp_autoencrypt\"\n"' > ~/.muttrc.autoenc
would that do? :)
great idea, btw, I like it!
--
Dan Boger
Linux MVP
brainbench.com
PGP signature