Re: lbdb-fetchaddr

2001-05-28 Thread Christoph Maurer

Am Die, 29 Mai 2001, schrieb Joss Winn:

> Hello,
> 
> I've been trying to get lbdb-fetchaddr working with the m_inmail
> module for a while but still my ~/.lbdb/m_inmail file is empty.
> 
> I have 
> 
> :0hc
> | lbdb-fetchaddr
> 
> in my .procmailrc file (does it matter where it is in the file?)
> and lbdlq _is_ working with my mutt aliases.  However, I would like to
> achieve what the man pages describes as:

Do you have lbdb-fetchaddr anywhere in your $PATH? The recipe is
correct in principle, but should be the first of your recipes if you
want alle the messages you receive being piped through lbdb.

Perhaps you could consider logging procmail's activities by having
an entry like
LOGFILE=~/.procmaillog
in your procmailrc.

This could give you some hints how to solve the problem.


You also should have a proper .lbdb/lbdbrc file. 
My one looks like this:


SORT_OUTPUT="name"
MUTT_DIRECTORY="$HOME/.mutt"
MUTTALIAS_FILES="aliases"
METHODS="m_inmail m_muttalias "


Greetings 

Christoph

-- 
Christoph Maurer - Jülicher Str. 80 - D - 52070 Aachen - Tux# 194235
mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de
On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook



Using Jed with Mutt

2001-05-28 Thread Chris S.


Hi all,

I'm using JED as my editor.  When I reply/forward a message, it fires up JED
and puts the current message at the top of the buffer.  I want to put a few
blank lines above the message cause I'm too lazy to hit enter a bunch of
times :)

I've tried all the command line tricks I can think of for JED, but it
dosen't work.  Anybody using JED have any ideas I can try out?

Thanks alot!
-- 
Chris 

PGP Public Key 0x519E3777



Re: Editing Aliases

2001-05-28 Thread Suresh Ramasubramanian

Biju Chacko [mutt-users] <29/05/01 10:45 +0530>: 
> I have written  one that emulates the look-and-feel of mutt. It's a little
> buggy, and not very featureful, but if anybody is interested I'll make it
> available for download. Mail me offlist.
 
 Put it up on sourceforge (or wherever) and post the url, please ..

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: Editing Aliases

2001-05-28 Thread Biju Chacko

On Mon, May 28, 2001 at 11:50:18AM -0700, Dale Morris wrote:
> I have a *newbie* questioan. Is it good to have my muttrc setup files
> configured so I can edit aliases? I have been using the setup files
> prepared by Sven Guckes (great!) and although everything else is
> covered, I can find no key sequence that allows me to edit aliases. I
> am wondering if there is a reason for this? I can't believe that
> anything this detailed would overlook alias editing, unless it was
> intentional. 

Hi,

You may want to install an address book program. Abook (
http://abook.sourceforge.net/ ) is a very full featured one.

I have written  one that emulates the look-and-feel of mutt. It's a little
buggy, and not very featureful, but if anybody is interested I'll make it
available for download. Mail me offlist.

I suppose with ppl hollering at me, I'll get round to fixing the bugs. ;-)

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Mailing list From: field in index

2001-05-28 Thread Jeff Coppock

Thusly Thwacked By Louis LeBlanc:
> Just to get you started, this is what I have in my Sent folder:
> 
> folder-hook =Sent  'set index_format="%3C %Z %d %-18.18t (%4l) %s"'
> 
> %t is the hook to get the To field.  If you hook this in your sent
> folder, this is all you want, anyway.  Just don't forget to set the
> default folder hook to the value you currently use.
> Works for me.

Louis,

Thank you!  The folder-hook is what I needed.  I see the To:
header field now and all is well.

jc



Re: How to call an external program against an attachment - without mime?

2001-05-28 Thread Louis LeBlanc

Nevermind.  Found it.  attach is what I was looking for.  I probably
need some sleep.  :)

Bye
L
On 05/28/01 11:42 PM, Louis LeBlanc sat at the puter and typed:'
> Hmm.  Only one problem.  I can't seem to set up a macro to work in the
> attachment menu.  attachment doesn't seem to be a valid menu.
> 
> I can't find a list of valid menus in the docs either.
> Any ideas?
> 
> Thanks again.
> 
> Lou
> 
> On 05/28/01 11:22 PM, Louis LeBlanc sat at the puter and typed:'
> > 
> > Actually, I think I can make that work.  I will have to go back and
> > relearn some shell scripting to make sure it is done right, but thank
> > you!
> > 
> > Lou
> > -- 
> > Louis LeBlanc
> > Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> > [EMAIL PROTECTED]
> > http://acadia.ne.mediaone.netԿԬ
> 
> -- 
> Louis LeBlanc
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> [EMAIL PROTECTED]
> http://acadia.ne.mediaone.netԿԬ

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: How to call an external program against an attachment - without mime?

2001-05-28 Thread Louis LeBlanc

Hmm.  Only one problem.  I can't seem to set up a macro to work in the
attachment menu.  attachment doesn't seem to be a valid menu.

I can't find a list of valid menus in the docs either.
Any ideas?

Thanks again.

Lou

On 05/28/01 11:22 PM, Louis LeBlanc sat at the puter and typed:'
> 
> Actually, I think I can make that work.  I will have to go back and
> relearn some shell scripting to make sure it is done right, but thank
> you!
> 
> Lou
> -- 
> Louis LeBlanc
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> [EMAIL PROTECTED]
> http://acadia.ne.mediaone.netԿԬ

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: How to call an external program against an attachment - without mime?

2001-05-28 Thread Louis LeBlanc

On 05/28/01 11:06 PM, Brendan Cully sat at the puter and typed:'
> On Monday, 28 May 2001 at 22:57, Louis LeBlanc wrote:
> > Hey all.  I have an unusual request here.
> > I noticed that for any message, if you look at the attachments menu
> > ('v'), you will always see the message itself as an attachment (which
> > makes perfect sense if you understand even a little about RFC 822).
> > Anyway, it gave me an idea.  What if I wanted to call an external
> > program against the text in that attachment - regardless of the mime
> > type?  How could that be done?
> 
> pipe-entry, bound to | by default, will pipe the attachment to a
> command line of your choice.

Actually, I think I can make that work.  I will have to go back and
relearn some shell scripting to make sure it is done right, but thank
you!

Lou
-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: How to call an external program against an attachment - without mime?

2001-05-28 Thread David Champion

On 2001.05.28, in <[EMAIL PROTECTED]>,
"Louis LeBlanc" <[EMAIL PROTECTED]> wrote:
> Hey all.  I have an unusual request here.
> I noticed that for any message, if you look at the attachments menu
> ('v'), you will always see the message itself as an attachment (which
> makes perfect sense if you understand even a little about RFC 822).
> Anyway, it gave me an idea.  What if I wanted to call an external
> program against the text in that attachment - regardless of the mime
> type?  How could that be done?

You can use pipe-entry ("|") from the attachments menu.  Is that about
what you mean?

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



How to call an external program against an attachment - without mime?

2001-05-28 Thread Louis LeBlanc

Hey all.  I have an unusual request here.
I noticed that for any message, if you look at the attachments menu
('v'), you will always see the message itself as an attachment (which
makes perfect sense if you understand even a little about RFC 822).
Anyway, it gave me an idea.  What if I wanted to call an external
program against the text in that attachment - regardless of the mime
type?  How could that be done?

For instance:
Someone sends me a 2000 line message that I know is mostly babble.  I
want to run a script or other program to condense it, maybe put it
into a more readable format, whatever.  The program in question would
simply take the text through a pipe or a tempfile as a parameter.  The
output could then either be saved, or depending on the outcome, have
another application run to view it immediately.

Any ideas?  I know this is a bit vague, but there is some room for
speculation.  One idea is to sort the joke mail by using a hook,
binding or macro or something from the attachment menu to strip the
'>' quoted chars and save the message in a specified directory under a
given name without having to edit and save manually.  Or even append
it to an existing file.  If the previous forwarded message shows up as
a separate attachment, as is often the case, it would be easy to just
hit a hotkey from there to zap that message to the end of a file.

Seems this might also be applied to some of the NG posts - they would
need to run something against the message to decode the binary posts,
right?  I have been looking at some of the *.games binary NGs and I
noticed they are all handled on the fly by Netscape.  I'm not sure how
to handle these in mutt, but that's not a big deal, but the idea is
interesting.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: first steps v.1.2.5-4

2001-05-28 Thread Harold Oga

Alexander Skwar wrote:
>So sprach Charles Cazabon am Mon, May 28, 2001 at 11:40:40AM -0600:
> > I don't use mbox files much; I don't know if mutt is supposed to leave a
> > 0-byte file there when you delete all the message in an mbox file.
>
>I also don't know if mutt is *SUPPOSED* to leave the file behind - but it
>does leave the file behind.
Hi,
This behavior is controlled by the save_empty variable, which by default
it set. If save_empty is unset, all empty mailboxes except the spoolfile are
removed when they are closed.  If you don't want the default behavior, then
stick the following in your .muttrc:

set save_empty=no

-Harold

-- 
"Life sucks, deal with it!"




Re: Mailing list From: field in index

2001-05-28 Thread Louis LeBlanc

On 05/28/01 03:50 PM, Jeff Coppock sat at the puter and typed:'
>Still doesn't work.  I tried %-15.15F, %-18.18L and %-18.18F
>and my +sent-mail still shows the From: header (my name) and
>not the To: header.  It's like mutt's not recognizing my name. 
>I've been playing with the index_format for some time now
>using any possible option listed in 'man muttrc' with no luck.
>
>Any other suggestions are most welcome.
>
>thanks,
>jc
> 

The mutt manual - section 6.3 describes the index variable and the
formatting strings in pretty good detail.

%F should give the author name, or the recipient name if it is from
you, so it makes sense that this would be the one to use.

One thing the manual doesn't tell you is that if you use a
'spamproofed' email address in your From header, mutt may not
recognize it as you, even though you use it regularly.  Other measures
are called for.  Folder hooks to be precise.

Just to get you started, this is what I have in my Sent folder:

folder-hook =Sent  'set index_format="%3C %Z %d %-18.18t (%4l) %s"'

%t is the hook to get the To field.  If you hook this in your sent
folder, this is all you want, anyway.  Just don't forget to set the
default folder hook to the value you currently use.
Works for me.

If you also use mutt to read news (with one of the various nntp
patches, you will want to use a server hook like the following so you
can see which group was posted to - this would have to be a separate
'sent' folder for nntp posts though.

To tell mutt to save news posts in nntp_saved:
server-hook news.myplace.net 'save-hook . =nntp_saved'

To tell mutt to use the Newsgroups header value instead of the From
or To values:
folder-hook =nntp_sent  'set index_format="%3C %Z %d %-18.18g (%4l) %s"'

HTH

Lou
-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: Mailing list From: field in index

2001-05-28 Thread Arvid Warnecke

On Mon, May 28, 2001 at 03:50:13PM -0700, Jeff Coppock wrote:
>Still doesn't work.  I tried %-15.15F, %-18.18L and %-18.18F
>and my +sent-mail still shows the From: header (my name) and
>not the To: header.  It's like mutt's not recognizing my name. 
>I've been playing with the index_format for some time now
>using any possible option listed in 'man muttrc' with no luck.
>
>Any other suggestions are most welcome.
>
Do you have added the list to .muttrc with subscribe [EMAIL PROTECTED]?
So, for this list I added
subscribe mutt-users
so mutt will know this list.
Perhaps you can use 
set alternates , too, in your .muttrc?
Something like 
set alternates="([EMAIL PROTECTED]|[EMAIL PROTECTED])"

Maybe that will work.

No other ideas at the moment.

Regards,
Arvid

-- 
 .''`. [Arvid Warnecke] [[EMAIL PROTECTED]] [05323-715724]
: :' : [ICQ 55906559] [ www.mad-hatter.de ] [PGP-Subject:"get pgp key"]
`. `'  Linux 2.4.2 i686  XFree86 Version 4.0.2  Uptime: 10 days, 12:11
  `--  BOFH #183: filesystem not big enough for Jumbo Kernel Patch

 PGP signature


Re: Mailing list From: field in index

2001-05-28 Thread Jeff Coppock

   Still doesn't work.  I tried %-15.15F, %-18.18L and %-18.18F
   and my +sent-mail still shows the From: header (my name) and
   not the To: header.  It's like mutt's not recognizing my name. 
   I've been playing with the index_format for some time now
   using any possible option listed in 'man muttrc' with no luck.
   
   Any other suggestions are most welcome.
   
   thanks,
   jc

Thusly Thwacked By Arvid Warnecke:
> On Mon, May 28, 2001 at 11:03:12AM -0700, Jeff Coppock wrote:
> >I have the same problem with my +sent-mail directory.  I
> >displays my name and the not who the mail was sent to even
> >though I'm using this index_format in .muttrc
> >
> >set index_format="%4C %Z %{%b %d} %-18.18F (%4c) %s"
> >
> >I verified that my name is correct on the /etc/passwd file,
> >since mutt checks there, and it was wrong and I fixed it and
> >it's still not working.
> >
> >Is there anything else I can check that would cause this?
> >
> > 
> 
> You have to change the index_format. Standard is
> set index_format "%4C %Z %{%b %d} %-15.15L (%4l) %s" in the .muttrc
> Just change %-15.15L to %-15.15F. Or 18.18L then ;-)
> So you will always see the author's name in the index.
> For more details on changing the index-format, please take a look at
> section 6.3.73. of the mutt-help-page.
> 
> HTH,
> Arvid
> 
> -- 
>  .''`. [Arvid Warnecke] [[EMAIL PROTECTED]] [05323-715724]
> : :' : [ICQ 55906559] [ www.mad-hatter.de ] [PGP-Subject:"get pgp key"]
> `. `'  Linux 2.4.2 i686  XFree86 Version 4.0.2  Uptime: 10 days, 9:43
>   `--  BOFH #32: techtonic stress



-- 

-- 

---
Jeff Coppock -- SE Manager --  Pacific Northwest Region
 Nortel Networks / IP Core Networks (Shasta BSN 5000)
  mailto:[EMAIL PROTECTED]
  (408) 565-3848:Office -- 655-3848:ESN
  (510) 703-5910:Mobile -- (925) 292-1156:Home Office
---



lbdb-fetchaddr

2001-05-28 Thread Joss Winn

Hello,

I've been trying to get lbdb-fetchaddr working with the m_inmail
module for a while but still my ~/.lbdb/m_inmail file is empty.

I have 

:0hc
| lbdb-fetchaddr

in my .procmailrc file (does it matter where it is in the file?)
and lbdlq _is_ working with my mutt aliases.  However, I would like to
achieve what the man pages describes as:

"This will pipe a copy of every mail message you receive through a
small C program lbdb-fetchaddr(1) which grabs that message's "From:"
header."

any ideas where I am going wrong?

thank you
joss

-- 
http://www.josswinn.org



Re: Mailing list From: field in index

2001-05-28 Thread Arvid Warnecke

On Mon, May 28, 2001 at 11:03:12AM -0700, Jeff Coppock wrote:
>I have the same problem with my +sent-mail directory.  I
>displays my name and the not who the mail was sent to even
>though I'm using this index_format in .muttrc
>
>set index_format="%4C %Z %{%b %d} %-18.18F (%4c) %s"
>
>I verified that my name is correct on the /etc/passwd file,
>since mutt checks there, and it was wrong and I fixed it and
>it's still not working.
>
>Is there anything else I can check that would cause this?
>
> 

You have to change the index_format. Standard is
set index_format "%4C %Z %{%b %d} %-15.15L (%4l) %s" in the .muttrc
Just change %-15.15L to %-15.15F. Or 18.18L then ;-)
So you will always see the author's name in the index.
For more details on changing the index-format, please take a look at
section 6.3.73. of the mutt-help-page.

HTH,
Arvid

-- 
 .''`. [Arvid Warnecke] [[EMAIL PROTECTED]] [05323-715724]
: :' : [ICQ 55906559] [ www.mad-hatter.de ] [PGP-Subject:"get pgp key"]
`. `'  Linux 2.4.2 i686  XFree86 Version 4.0.2  Uptime: 10 days, 9:43
  `--  BOFH #32: techtonic stress

 PGP signature


Re: Editing Aliases

2001-05-28 Thread Michael Tatge

Dale Morris muttered:
> I have a *newbie* questioan. Is it good to have my muttrc setup files
> configured so I can edit aliases? 
> I can find no key sequence that allows me to edit aliases. I
> am wondering if there is a reason for this?

Use 'a' to enter an alias. If you want to edit your $alias_file from
inside mutt you could use a macro:
macro index \ea "vim ~/.mutt/aliases"

HTH,

Michael
-- 
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Editing Aliases

2001-05-28 Thread Dale Morris

Hi!
I have a *newbie* questioan. Is it good to have my muttrc setup files
configured so I can edit aliases? I have been using the setup files
prepared by Sven Guckes (great!) and although everything else is
covered, I can find no key sequence that allows me to edit aliases. I
am wondering if there is a reason for this? I can't believe that
anything this detailed would overlook alias editing, unless it was
intentional. 
thanks



Re: Mailing list From: field in index

2001-05-28 Thread Jeff Coppock

   I have the same problem with my +sent-mail directory.  I
   displays my name and the not who the mail was sent to even
   though I'm using this index_format in .muttrc
   
   set index_format="%4C %Z %{%b %d} %-18.18F (%4c) %s"
   
   I verified that my name is correct on the /etc/passwd file,
   since mutt checks there, and it was wrong and I fixed it and
   it's still not working.
   
   Is there anything else I can check that would cause this?
   
   thanks,
   jc

Thusly Thwacked By Mr. Wade:
> Brian Nelson wrote:
> > I recently added the mailing lists I subscribe to using the
> > 'subscribe' setting in my muttrc.  Apparently, by default, when mutt
> > recognizes an email from mailing list, it changes the display in the
> > index to show 'To [EMAIL PROTECTED]' or 'CC [EMAIL PROTECTED]' for
> > example instead of the name of the person who sent the email.
> > 
> > This is undesirable since I already sort my mailing lists into folders
> > with procmail.  It's not very helpful to see that every email in the
> > folder was send to the mailing list.
> > 
> > How would I override this behavior to make mutt show the 'From' field
> > in the index for mailing lists instead of 'To' or 'CC'?
> > 
> > Thanks.
> > 
> > -- 
> > Brian Nelson <[EMAIL PROTECTED]>
> 
> You'll want to take a look at the $index_format variable.  Like
> many things in Mutt, the format of the index is highly
> configurable.
> 
> As an example, I am currently using:
> 
> set index_format="%4C %S %{%m/%d} %-18.18n %?M?(#%03M)&(%4c)? %s"
> 
> Good luck.
> 
> -- Mr. Wade
> 
> -- 
> Linux: The Choice of the GNU Generation
> 



Re: first steps v.1.2.5-4

2001-05-28 Thread Ken Weingold

On Mon, May 28, 2001, Charles Cazabon wrote:
> john gennard <[EMAIL PROTECTED]> wrote:
> > Additionally, when after reading the mail I type 'd' for deletion,
> > the folders I'm in is deleted.
> 
> I don't use mbox files much; I don't know if mutt is supposed to leave a
> 0-byte file there when you delete all the message in an mbox file.

save_empty
Type: boolean
Default: yes 


When unset, mailboxes which contain no saved messages will be removed
when closed (the exception is ``spoolfile'' which is never removed).
If set, mailboxes are never removed. 

Note: This only applies to mbox and MMDF folders, Mutt does not delete
MH and Maildir directories. 




-Ken

-- 
[EMAIL PROTECTED]AIM: ScopusFest



Re: first steps v.1.2.5-4

2001-05-28 Thread Sam Roberts

Quoting john gennard <[EMAIL PROTECTED]>, who wrote:
> My mail is pulled to my /home/user/Mail directory which contains
> folders for filtered stuff from specific sources and an inbox for
> the remainder. I selected one of the .muttrc files on the web site
> (it was Felix von Leitner's) and amended and adjusted according to
> what I perceive as my simple needs. 
> 
> If I merely launch mutt, it refers to '/var/spool/mail/user' and
> says 'no messages'. If however I use 'mutt -f /home/user/Mail/inbox'

set spoolfile=~/Mail/inbox

or (if folder points to ~/Mail)

set spoolfile=+inbox

> (or /mutt, /debian, /auntsally etc), I get the contents of the quoted
> folder for viewing without problems. I've tried various changes to 
> .muttrc, but so far have not hit upon the correct one (I assumed
> 'set folder=' would work but it does not). 

folder is your ~/Mail or equiv directory, it allows you to use
mailbox names like +inbox or =inbox to refer to ~/Mail/inbox.

spoolfile is your mail spool, usually /var/spool/mail/user.

> Additionally, when after reading the mail I type 'd' for deletion,
> the folders I'm in is deleted.

I have this set up, too, but I like it! Try "set save_empty", I think
that will get what you want. That's the default, so you probably have
an "unset save_empty" somewhere in the cfg file you downloaded?

> Would some knowledgeable person kindly let me know what stupid 
> errors I'm  making. 

Hopefully this will get you a little further.

Sam

-- 
Sam Roberts <[EMAIL PROTECTED]>



Don't Understand Macro Key Bindings

2001-05-28 Thread Tim Johnson

Hello All:
I have found "many" example muttrc's with macro key binding examples.
However, I have found nothing to explain what many of the key bindings
expand to. Greg sent me some good examples below, but I do not
understand what keystrokes that they expand to.
> > You can create macros for the editor like:
> > 
bindeditor   delete-char
bindeditor  \CB  bol
macro   editor  '\L'~/Mail/z/l
macro   editor  '\T'~lang/Mail/t
macro   editor  '\P'~lang/Mail/p
macro   editor  '\S'"Don\'t forward or cc email to penpals-partner"
i.e. : \CB expands to ?
'\L` expands to ?
I am on RH 6.0, I haven't found clarifications in the man pages,
other than references to classic "C-programming" escape sequences.

Also, being pointed to documentation on this matter would be great!

Best Regards and Thanks for all the help.
Tim



first steps v.1.2.5-4

2001-05-28 Thread john gennard

I run debian Potato and have used kmail for some time. I'm now trying
to set up my email differently.

So far I have setup getmail and procbox for pulling and filtering my
mail from a POP account with an ISP. I've installed Mutt and read a
good deal - man pages, the Manual and the contributions on the
official web site. 

There is so much information available, but I cannot get the basics
clear in my mind. 

My mail is pulled to my /home/user/Mail directory which contains
folders for filtered stuff from specific sources and an inbox for
the remainder. I selected one of the .muttrc files on the web site
(it was Felix von Leitner's) and amended and adjusted according to
what I perceive as my simple needs. 

If I merely launch mutt, it refers to '/var/spool/mail/user' and
says 'no messages'. If however I use 'mutt -f /home/user/Mail/inbox'
(or /mutt, /debian, /auntsally etc), I get the contents of the quoted
folder for viewing without problems. I've tried various changes to 
.muttrc, but so far have not hit upon the correct one (I assumed
'set folder=' would work but it does not). 

Additionally, when after reading the mail I type 'd' for deletion,
the folders I'm in is deleted.

Would some knowledgeable person kindly let me know what stupid 
errors I'm  making. 

Thanks, John.