On Thu, Feb 14, 2002 at 05:13:06PM +0000, [EMAIL PROTECTED] wrote:
> Since it's a bit complex and I don't really know what I'm talking about, I'm
> giving you a link which does.

Sorry, previous mail should have gone to list, not to you directly.

I've already looked at the link you gave, and it seems to be hopelessly
out of date - it refers to Mutt 0.95.3i - and all (most) of the
configuration variables it suggests setting no longer exist.

I may be a GnuPG newbie, but I'm not a total newbie, and I know how to
find/read documentation (at least some of the time, anyway).  I've read
the instructions given by Justin R Miller (linked from www.mutt.org),
and the ones in the contrib directory of the mutt source (they are very
similar), and set my mutt up accordingly.  However, whenever I try to
send a mail encrypted, all I get is a load of blank lines.

I don't think it's my particular compilation of mutt, since I get the same
behaviour on my self-compiled 1.3.27i (running on Solaris 2.8) and on the
precompiled mutt binary that came with SuSE 7.2.  I'm beginning to suspect
that the instructions may be wrong/out-of-date.

Is anyone willing/able to send me a .muttrc which works with GnuPG and a
recent version of mutt?

In case anyone is willing to have a look, my (condensed) .muttrc is as
follows:

  source /u/dsmith/lib/mutt/gpg.rc
  ignore "from " received content- mime-version status x-status message-id
  ignore sender references return-path lines
  macro index \eb '/~b ' 'search in message bodies'
  macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
  macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
  macro generic <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
  macro index   <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
  macro pager   <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
  set hostname=bristol.st.com
  set folder="/u/dsmith/Mail"
  set spoolfile="imap://dave smith@bloodroot/inbox"
  set print_command="/pd/genscript/1.3.0/bin/genscript -p - --font=Courier8 | lp"
  set query_command="/u/dsmith/bin/address_lookup '%s'"
  send-hook . set signature="~/.signature"
  send-hook [EMAIL PROTECTED] set signature="~/.signature_bblug"
  set sort=threads
  set sort_aux=date-received
  set strict_threads
  subscribe [EMAIL PROTECTED]
  subscribe [EMAIL PROTECTED]
  subscribe [EMAIL PROTECTED]
  subscribe [EMAIL PROTECTED]

And my gpg.rc is as follows:
  set pgp_decode_command="gpg --no-secmem-warning %?p?--passphrase-fd 0? --no-verbose 
--batch --output - %f"
  set pgp_verify_command="gpg --no-secmem-warning --no-verbose --batch --output - 
--verify %s %f"
  set pgp_decrypt_command="gpg --no-secmem-warning --passphrase-fd 0 --no-verbose 
--batch --output - %f"
  set pgp_sign_command="gpg --no-secmem-warning --no-verbose --batch --output - 
--passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
  set pgp_clearsign_command="gpg --no-secmem-warning --no-verbose --batch --output - 
--passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
  set pgp_encrypt_only_command="pgpewrap gpg --no-secmem-warning -v --batch --output - 
--encrypt --textmode --armor --always-trust -- -r %r -- %f"
  set pgp_encrypt_sign_command="pgpewrap gpg --no-secmem-warning --passphrase-fd 0 -v 
--batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
  set pgp_import_command="gpg --no-secmem-warning --no-verbose --import -v %f"
  set pgp_export_command="gpg --no-secmem-warning --no-verbose --export --armor %r"
  set pgp_verify_key_command="gpg --no-secmem-warning --no-verbose --batch 
--fingerprint --check-sigs %r"
  set pgp_list_pubring_command="gpg --no-secmem-warning --no-verbose --batch 
--with-colons --list-keys %r"
  set pgp_list_secring_command="gpg --no-secmem-warning --no-verbose --batch 
--with-colons --list-secret-keys %r"
  set pgp_getkeys_command=""

TIA...

-- 
David Smith                   Tel: +44 (0)1454 462380 (direct)
STMicroelectronics            Fax: +44 (0)1454 617910
1000 Aztec West    TINA (ST only): (065) 2380
Almondsbury                  Home: 01454 616963
BRISTOL                    Mobile: 07932 642724
BS32 4SQ               Work Email: [EMAIL PROTECTED]
                       Home Email: [EMAIL PROTECTED]

Reply via email to