On Sat, Feb 18, 2017 at 09:15:57AM -0500, Patrick Shanahan wrote:
> * Chris Green <c...@isbd.net> [02-18-17 08:17]:
> > On Sat, Feb 18, 2017 at 07:48:42AM -0500, Patrick Shanahan wrote:
> > > * Chris Green <c...@isbd.net> [02-18-17 07:39]:
> > > > Whenever I start mutt (mutt 1.5.23) it says "/home/chris/Mail does not
> > > > exist. Create it? ([yes]/no):".
> > > > 
> > > > I have no references at all to ~/Mail in my environment or in my
> > > > muttrc file.  The system's mail spool is /var/mail/<user> and I
> > > > actually get my mail deilvered to ~/Maildir/in.  So why does mutt ask
> > > > to create this unwanted directory?
> > > 
> > > grep "~/Mail" ~/.muttrc /etc/muttrc
> > > grep set\ folder ~/.muttrc /etc/muttrc
> > > 
> > Results are:-
> > 
> >     chris@cheddar$ grep "~/Mail" ~/.muttrc /etc/muttrc ~/.mutt/muttrc
> >     grep: /home/chris/.muttrc: No such file or directory
> >     grep: /etc/muttrc: No such file or directory
> >     /home/chris/.mutt/muttrc:set spoolfile=~/Maildir/in
> >     /home/chris/.mutt/muttrc:mailboxes  ~/Maildir/in
> >     chris@cheddar$ grep set\ folder ~/.muttrc /etc/muttrc ~/.mutt/muttrc
> >     grep: /home/chris/.muttrc: No such file or directory
> >     grep: /etc/muttrc: No such file or directory
> >     /home/chris/.mutt/muttrc:set folder_format="%N %-32.32f %d %6s"
> >     chris@cheddar$ 
> > 
> > There really *arent't* any references to ~/Mail!  :-)
> 
> look at "set folder" in "man muttrc".  You will have to search for
> "folder" as "set folder" will not find the appropriate setting.
> 
> essentially, you have not told mutt the "default location of your
> mailboxes" so it asks.
> 
> and the "default location of your mailboxes" is *not* your spool file.
> 
Aha, thanks!  I hadn't realised that there was a built-in default for
this.  All sorted now.

-- 
Chris Green

Reply via email to