Hi,

I'm currently trying to migrate from a local Maildir to an IMAP
server. So far I was used to have a maildir marked with an 'N' in
mutt if there was a new email in there, like:
~~~
21   N drwxr-x---  5 fetchmai mail         4.0K Jan 22 12:11 .Linus/
~~~

Which is pretty handy, because I don't want to have to access
every single maildir to check whether I have new emails there.

However, I do not seem to have this anymore when trying to access my
mails via IMAP, it for instance just says:

~~~
16     IMAP                                  Linus
~~~

Am I doing something wrong in Dovecot or in Mutt? Or is this
somehow not supported with IMAP?


My muttrc for IMAP looks like this (I'm trying to start minimal):
~~~
set folder="imap://test:[email protected]/"
set spoolfile="imap://test:[email protected]/"
set imap_check_subscribed=yes
~~~

The muttrc for the local Maildirs looked like this:
~~~
ignore *
unignore From: To: Cc: Subject: Date: #Only these are shown in the
header
set from="[email protected]"
set realname="Linus Lüssing"
set use_from=yes
set envelope_from="yes"
set editor = "/usr/bin/vim +\"set nomodeline\" +\"set tw=66\""
set sendmail="/usr/bin/msmtp"
set mbox_type=Maildir
set folder="/var/mail/Maildir"
set mask="!^\\.[^.]"
set mbox="/var/mail/Maildir"
set record="+.Sent"
set postponed="+.Drafts"
mailboxes ! + `\
for file in /var/mail/Maildir/.*; do \
  box=$(basename "$file"); \
  if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" =
'.customflags' \
      -a ! "$box" = '.subscriptions' ]; then \
    echo -n "\"+$box\" "; \
  fi; \
done`
mailboxes "/var/mail/linus"
~~~

And I'm using Mutt 1.5.20 (2009-06-14) and dovecot-imapd 1:1.2.15-7
on a Debian Squeeze.


Cheers, Linus


PS: Thanks for sharing Mutt and its code with the world, 
it's been a very reliable email client for me for ages.

Reply via email to