New Mutt User Question

2001-11-29 Thread Ken Ficara

I have a directory full of Unix mailboxes. I put a statement into my
.muttrc like so:

set folder=/path/to/my/directory/of/mailboxes

I then start mutt so:

mutt -y

and mutt sez

No incoming mailboxes defined.

Huh? What am I doing wrong?

What I'm trying to do is start up mutt with a browser listing all the
mailboxes in that directory.

thank you.
ken





Re: New Mutt User Question

2001-11-29 Thread Thorsten Haude

Hi,

* Ken Ficara [EMAIL PROTECTED] [01-11-29 16:58]:
I have a directory full of Unix mailboxes. I put a statement into my
.muttrc like so:

   set folder=/path/to/my/directory/of/mailboxes

I then start mutt so:

   mutt -y

and mutt sez

   No incoming mailboxes defined.

Huh? What am I doing wrong?
Nothing that I know of, but you leave something out:
mailboxes `find /path/to/my/directory/of/mailboxes -type f -print | grep -Ev 
'(log|backup|sent|postponed|trash)' | xargs`
Somebody asked me about the xarg, and I couldn't really say whether
Mutt accepts one mailbox per line. I never tried: Never change a
running system.
$folder sets only the '=' and '+' special variables. I think.

What I'm trying to do is start up mutt with a browser listing all the
mailboxes in that directory.
That should work now.

Thorsten
-- 
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin



Re: New Mutt User Question

2001-11-29 Thread Prahlad Vaidyanathan

Hi,

On Thu, 29 Nov 2001 Thorsten [EMAIL PROTECTED] spewed into the ether:
[-- snip --]
  No incoming mailboxes defined.
 
 Huh? What am I doing wrong?
 Nothing that I know of, but you leave something out:
   mailboxes `find /path/to/my/directory/of/mailboxes -type f -print | grep -Ev 
'(log|backup|sent|postponed|trash)' | xargs`

Ahh .. neato ! 
earlier I had :

mailboxes `find ~/Email -maxdepth 1 -type f ! -name sent-mail ! -name postponed 
-printf %p `

But, that becomes way too tedious as the list increases. The 
egrep/xargs combination works wonderfully. Thanks :-)

 Somebody asked me about the xarg, and I couldn't really say whether
 Mutt accepts one mailbox per line. I never tried: Never change a
 running system.

Yes, xargs just echoes them one-by-one, I guess.

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg20812/pgp0.pgp
Description: PGP signature