David T-G <[EMAIL PROTECTED]> wrote on Wed, 07 Jun 2000:
> % mailboxes ! `echo $folder/*`
> 
> You don't have $spoolfile set, so if it's not /var/spool/mail/$USER (or
> maybe /var/mail/$USER if that's what your system wants to use and mutt
> was able to pick that up at configure time) then '!' won't make any
> difference.

Actually,

  mailboxes !

and

  mailboxes $MAIL

are equivalent, if the MAIL environment variable has been set and
$spoolfile isn't defined to something else in the .muttrc.  You can
refer to ! in the mailboxes line, I do that in my own .muttrc.

>   #mailboxes =F.*     ### why doesn't this work??

Because mailboxes doesn't use regular expressions or do shell-style
wildcard expansion, only literal strings of mailbox paths.

> I set $folder just to be safe; I dunno if I really need to
> or not.

I think the default for $folder is ~/Mail, and this doesn't depend on
any system variables.  At least, that's what the manual shipping with
1.2 says.  So here you wouldn't really need to set it, since you're
using the same value as the default.  However, relying on the default
may sometimes be a bad thing, like if the default value changes sometime
in the future, that might bite you back..  With the setting in your
.muttrc, you don't have to worry about that.


Oh yes, for the original poster -- to actually see what mail folders
are defined in your mailboxes lines, you can do this:

  c?<tab>

... to view your list of "incoming mail folders" (ie. the mailboxes
defined folders).  If a particular folder doesn't appear in that list,
then it's not been properly defined in a mailboxes line.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Editing is a rewording activity.

Reply via email to