On 07.02.18 22:37, kalle wrote:
> In the manual v.1.9.2, chapter "2.1 Index" it says
> 
> "The index is the screen that you usually see first when you start Mutt. It
> gives an overview over your emails in the currently opened mailbox."
> 
> The problem is: there are no mails to see, because there is no mailbox of
> mine open and I don't know how to do this.

Then mutt is failing to find your spoolfile:

»
3.299. spoolfile

Type: path
Default: (empty)

If your spool mailbox is in a non-default place where Mutt cannot find it, you
can specify its location with this variable. Mutt will initially set this
variable to the value of the environment variable $MAIL or $MAILDIR if either
is defined.
«

If further diagnosis is needed, it might be useful to post your mutt
version number. (From mutt -v)

Although I have neither $MAIL nor $MAILDIR defined in the environment,
mutt has always found the mail spool, as is the case for most mutt users,
I expect.

In the index view, press y for the mailboxes view, which in my case
presents:

1     -rw-------  1 erik     erik         6.1M Feb 05 15:41 =avr_chat_u
2     -rw-------  1 erik     erik          12M Jan 17 13:23 =avr_gcc_u
...
16     -rw-rw----  1 erik     mail         9.4M Feb 08 12:05 
/var/spool/mail/erik

If your spoolfile is in some unusual place, then you now have three ways
to tell mutt where it is located.

As you are using linux on your host, try:

$ ls /var/spool/mail/

to see what is there. (And go from there.)

For later: If you use some utility to fetch and sort mail into multiple
inboxes, e.g. one per mailing list, then the "mailboxes" command can be
used in ~/.muttrc to configure those as well.

> 
> It is the third time already that I try to learn mutt but having no mails to
> start with, not knowing what is meant by a 'mailbox' and how to administrate
> it, even when reading in the newbie manual not getting to a point.

The <F1> manual does discuss mailboxes, describing both mbox and maildir
formats. Once you've found your spoolfile, then you can inform yourself:

$ file /var/spool/mail/erik
/var/spool/mail/erik: UTF-8 Unicode text, with very long lines

$ view /var/spool/mail/erik

to see what the mbox format looks like.

Your persistence is admirable, and with the help of a few answered
questions, I'm sure you'll succeed. It'll be interesting to hear how the
spoolfile managed to hide.

Erik

Reply via email to