Hi Jamie, On Thu, Aug 02, 2012 at 07:51:25AM +0100, Jamie Paul Griffin wrote: > 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.
As long as you only use mutt this is correct. > 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. I checked the config options a few times. But from the viewpoint of dovecot there is no same reason to be configurable in this manner. Dovecot is a server that provides access to mails. The storage-specific tweaks are quite irrellevant when it comes to wishes of few users. Dovecot functions also as a kind of relay between the Maildir and the MUA. The IMAP server accesses the Maildir, and provides the contents of the maildir via IMAP. Once an IMAP client connects to Dovecot there is no difference if you have the mails stored in Maildir, mbox, dbox or something else, as for the client the protocol is now IMAP. So the mark_old should have no effect on the Maildir when there is IMAP in between. regards, Andre -- Andre Klärner Telefon: 0351/79666546 Fax: 0351/79688547 Mobil: 0172/9838653
smime.p7s
Description: S/MIME cryptographic signature