GnuPG2 with Mutt

Guy Dalziel krendoshazin at
Thu Jul 2 09:26:11 PDT 2009

I've made the suggested changes and the patch is attached, hopefully it
should be more approvable. I couldn't think of a clean way to sed gpg
with gpg2, there doesn't seem to be anything predictable about all of
the occurances of the command gpg. 
-------------- next part --------------
Index: BOOK/basicnet/mailnews/mutt.xml
--- BOOK/basicnet/mailnews/mutt.xml	(revision 7829)
+++ BOOK/basicnet/mailnews/mutt.xml	(working copy)
@@ -235,6 +235,18 @@
 <screen><userinput>cat /usr/share/doc/mutt-&mutt-version;/samples/gpg.rc >> ~/.muttrc</userinput></screen>
+      <para><application>Mutt</application> uses <command>gpg</command> in the 
+      imported sample. If you have <xref linkend="gnupg2"/> installed and you 
+      do not have <xref linkend="gnupg"/> installed you can create a symlink
+      to satisfy this condition:</para> 
+      <screen><userinput>ln -v -s gpg2 /usr/bin/gpg</userinput></screen>
+      <para>If, however, you have <xref linkend="gnupg"/> installed and you wish 
+      to use <xref linkend="gnupg2"/> you should edit <filename>~/.muttrc</filename>
+      by hand, changing all occurances of <command>gpg</command> to
+      <command>gpg2</command>.</para>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <>

More information about the blfs-dev mailing list