I have my send-hooks to turn on and off PGP/GPG signatures and/or changing my from address... However I have not tried having it work off the alias in mutt and just have them for the mailing list addresses themselves or specific people (as anyone using Outlook or Outlook Express can't read the message properly when sign'd)... Other than that I do my hooks the same way you do with the ~C modifier...
Respectfully, Jeremy T. Bouse Martin F. Krafft was said to been seen saying: > hi all, > has anyone managed to configure mutt to GPG sign a message based on > the recipient? using the line > > send-hook '~C debian.*' "set pgp_autosign" > > i can get mutt to do it when i start it as 'mutt debian' (debian is an > entry in my aliases file), but not when i simply enter 'debian' in the > to line of the email as i compose it (with headers) in vi. the alias > is expanded as soon as i close the message, getting ready to press 'y' > in mutt to send it. > > any ideas? > > martin; (greetings from the heart of the sun.) > \____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED] > -- > today, i will gladly share my experience and advice, > for there are no sweeter words than "i told you so." -- ,-----------------------------------------------------------------------------, |Jeremy T. Bouse, CCNA - UnderGrid Network Services, LLC - www.UnderGrid.net | | Public PGP/GPG key available through http://wwwkeys.us.pgp.net | | If received unsigned (without requesting as such) DO NOT trust it! | | [EMAIL PROTECTED] - NIC Whois: JB5713 - [EMAIL PROTECTED] | `-----------------------------------------------------------------------------'
pgpIuJJzcTqy3.pgp
Description: PGP signature