> Date: Thu, 29 Nov 2001 17:21:35 +0100 > From: Thorsten Haude <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: New Mutt User Question > > 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.
This is my version (single line in my .muttrc): mailboxes `find ~/Mail/ -type f | perl -ne 'chomp; print "$_ " unless m/^.*(postponed|sent|trash)$/' -- FreeBSD 4.4-STABLE 5:56PM up 37 days, 4:39, 18 users, load averages: 0.09, 0.05, 0.04