<<< Date Index >>>     <<< Thread Index >>>

Re: Maildir Path



On Thu, Mar 17, 2005 at 11:12:50AM +0100, messmate wrote:

> it's now several day's i try a courier-imap setup locally with mutt.
> Googled, readed faq/doc, all what i've found, without any result.
> her is a part of my folders file:
> set mbox_type=Maildir  # Don't you love it :)

Why are you doing that if you're then using IMAP for all your mailboxes?

> set folder="imap://localhost/ # where i keep my mailboxes
> set mask="!(^(tmp|cur|new|\.\.ev-summary|\.\.)$)"
> set mbox=imap://localhost/ # where my new mail is located
> set record="+.sent/"  # folder of sended mail = kmail
> set spoolfile=imap://localhost/ # where my new mail is located

Why not just read the Maildirs locally? That's how I prefer to do it
anyway.

try:

set spoolfile=~/Maildir/
unset move
set mbox_type=Maildir
set folder=~/Maildir/
# So that you can see folders named by Courier's Maildir++ scheme
set mask="^\\."

Alternately, there has been a patch posted to the list (a while back)
which lets mutt recognize the Maildir++ crap on its own.

> set postponed=+postponed/ # mailbox to store postponed

If you want to store in a way that Courier can see it, do:
set postponed=+.postponed/

If you're reading the local files, I suggest building the dev version of
mutt, and installing the header-caching patch for Maildir - that will
speed things up.

If you are only accessing your mail via mutt, I'd suggest just putting
your other folders in ~/Mail/ or ~/mail/ as regular Maildirs (so
~/Mail/foo/ instead of ~/Maildir/.foo/). If you're using both, you might
want to look into setting up symlinks. I find the first way a lot easier
to think about / deal with.

> set maildir_trash=yes # this only applies to maildir-style mailboxes

Again, not really applicable if you're using IMAP. Pick one or the
other.

> mailboxes +.AA +.A-Inbox +.inbox +.Inbox +.outbox +.trash +.sent
> +.draft

If you're reading them via IMAP, you'll need to change the syntax there.