* On 28 Apr 2014, David Woodfall wrote:
I've just set up dovecot/procmail on a debian VPS and when using mutt
with maildir, as I navigate around, I see the new/ cur/ tmp/ folders
and inside the actual file names of the mail.
This should just work. Maildir is tested first, before other mailbox
types, and it only checks whether there is a cur/ subdirectory to the
mailbox location.
Two questions: 1. are you sure that the permissions are correct (i.e.
that your user can read it, was not set up by root, etc)? Clearly you
can read the mailbox directory, but what about cur? 2. How are you
referring to the mailbox?
The permissions look ok:
% ls -ld mail
drwx------ 7 dive dive 4096 Apr 29 03:30 mail/
% ls -l mail
total 52
drwx------ 2 dive dive 4096 Apr 29 03:04 cur/
-rw------- 1 dive dive 17408 Apr 29 03:04 dovecot.index.cache
-rw------- 1 dive dive 2008 Apr 29 03:30 dovecot.index.log
-rw------- 1 dive dive 51 Apr 29 03:30 dovecot-uidlist
-rw------- 1 dive dive 8 Apr 29 03:05 dovecot-uidvalidity
-r--r--r-- 1 dive dive 0 Apr 29 01:43
dovecot-uidvalidity.535f03da
drwx------ 3 dive dive 4096 Apr 29 03:29 new/
-rw------- 1 dive dive 843 Apr 29 02:52 Sent
drwx------ 3 dive dive 4096 Apr 29 03:29 tmp/
drwx------ 5 dive dive 4096 Apr 29 03:05 Trash/
You might running in debug mode: mutt -d3 -f /path/to/mailbox
Output from that:
[2014-04-29 17:44:44] Mutt/1.5.21 (2010-09-15) debugging at level 3
[2014-04-29 17:44:44] Reading configuration file '/etc/Muttrc'.
[2014-04-29 17:44:44] Reading configuration file
'/usr/lib/mutt/source-muttrc.d|'.
[2014-04-29 17:44:44] Reading configuration file
'/etc/Muttrc.d/charset.rc'.
[2014-04-29 17:44:44] Reading configuration file
'/etc/Muttrc.d/colors.rc'.
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 1
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 2
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 3
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 4
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 5
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 6
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 7
[2014-04-29 17:44:44] mutt_alloc_color(): Color pairs used so far: 8
[2014-04-29 17:44:44] Reading configuration file
'/etc/Muttrc.d/compressed-folders.rc'.
[2014-04-29 17:44:44] Reading configuration file
'/etc/Muttrc.d/gpg.rc'.
[2014-04-29 17:44:44] Reading configuration file
'/etc/Muttrc.d/smime.rc'.
[2014-04-29 17:44:44] Reading configuration file
'/home/dive/.muttrc'.
[2014-04-29 17:44:44] mailbox '/home/dive/mail/Trash' already
registered as '/home/dive/mail/ Trash'
[2014-04-29 17:44:44] mailbox '/home/dive/mail/new' already
registered as '/home/dive/mail/new' [2014-04-29 17:44:44] mailbox
'/home/dive/mail/cur' already registered as '/home/dive/mail/cur'
[2014-04-29 17:44:44] mailbox '/home/dive/mail/tmp' already
registered as '/home/dive/mail/tmp' [2014-04-29 17:44:44] Reading
configuration file '/home/dive/.muttbinds'.
[2014-04-29 17:44:44] Reading mail...
[2014-04-29 17:44:44] Scanning mail... 0
[2014-04-29 17:44:44] Reading mail... 0
[2014-04-29 17:44:44] Scanning mail... 0
[2014-04-29 17:44:44] Reading mail... 0
[2014-04-29 17:44:49] Mailbox is unchanged.
Significant parts from .muttrc:
set mbox_type=maildir
set folder="$HOME/mail"
set mbox="$HOME/mail"
set spoolfile="$HOME/mail"
sigificant parts from .muttbinds:
bind pager <left> exit
bind browser <left> toggle-mailboxes
bind attach <left> exit
bind pager <right> view-attachments
bind attach <right> view-attach
bind browser <right> select-entry
bind index <right> display-message
bind compose <right> view-attach
That allows me to use left and right to go pretty much anywhere.
Dave