On Wed, Aug 01, 2012 at 09:04:00PM +0200, Andre Klärner wrote: > The manual leads me to thinking that mark_old will only stop mutt from > moving mails in the maildir/new to maildir/cur. But there is also another > factor in this case: as I am on the road many times I don't always have the > luxury of a stable and fast ssh-connection home, so I can't use mutt on > e.g. my phone. To access mails there I have to use IMAP, so a > dovecot-instance is always sweeping my maildirs and moving new mails to the > cur-directory, so that they are marked old no matter how I set mark_old. > > So finally I'd like to be able to "hide" some mailboxes in the list like > e.g. limiting for mails does perfectly. > > Does anyone have an idea how I could achieve this?
I have $mark_old unset and it does exactly what you're trying t achieve - unread mail remains as in the Maildir as New mail. I also have $header_cache set. When accessing your Maildirs using imap I would have thought that it's the MUA that is setting the read/unread flags on your mail, not Dovecot itself, just as with mutt. However, i only ever access Maildirs with imap using mutt so I can't be sure on that. Check the Dovecot documentation and manpages and also the configuration options to be sure.