Re: IMAP Mail server question
On Mon, Mar 05, 2007 at 11:54:11PM +0000, Hans du Plooy wrote:
> On Mon, 2007-03-05 at 22:43 +1300, Chris Bannister wrote:
> > There is one(?) caveat though. Don't create your Maildir directory by
> > hand. USE the maildirmake program and then create your mailboxes using
> > the -f switch of maildirmake. Believe me, it can save you lots of grief.
> > Otherwise courier-imap-ssl works out of the box.
>
> Why?
I dunno. I tried doing it manually and mutt wouldn't see it.
I suppose courier-imap needs a "special" layout.
Must be something to do with INBOX being virtual.
$ ls -al Maildir/
total 116
drwx------ 27 chrisb chrisb 4096 2007-03-01 09:30 .
drwxr-xr-x 88 chrisb chrisb 8192 2007-03-07 02:46 ..
drwx------ 6 chrisb chrisb 4096 2007-03-01 09:44 .IN-Chess-L
drwx------ 6 chrisb chrisb 4096 2007-03-01 07:55 .IN-Personal
drwx------ 6 chrisb chrisb 4096 2007-03-01 09:30 .IN-Peter
drwx------ 6 chrisb chrisb 4096 2007-03-01 09:30 .IN-crafty
drwx------ 6 chrisb chrisb 4096 2007-03-04 16:12 .IN-debian-amd64
drwx------ 6 chrisb chrisb 4096 2007-03-04 14:23 .IN-debian-devel
drwx------ 6 chrisb chrisb 4096 2007-03-04 13:25 .IN-debian-devel-announce
[..]
drwx------ 6 chrisb chrisb 4096 2007-03-04 14:22 .IN-ding
drwx------ 6 chrisb chrisb 4096 2007-03-04 14:18 .IN-fvwm
drwx------ 6 chrisb chrisb 4096 2007-03-04 13:27 .IN-mutt
drwx------ 6 chrisb chrisb 4096 2007-03-01 09:44 .IN-slrn
drwx------ 2 chrisb chrisb 4096 2007-03-01 07:55 courierimapkeywords
-rw-r--r-- 1 chrisb chrisb 15 2007-03-01 07:55 courierimapuiddb
drwx------ 2 chrisb chrisb 4096 2007-03-01 07:44 cur
drwx------ 2 chrisb chrisb 4096 2007-03-01 07:44 new
drwx------ 2 chrisb chrisb 4096 2007-03-07 02:35 tmp
from man maildirmake
[..]
Folders are simply subdirectories inside the main maildir whose names
start with a period, and which are themselves maildirs. For example,
the command "maildirmake -f Drafts mail/Maildir" creates
mail/Maildir/.Drafts, that has the usual tmp, new and cur. You MUST
use the -f option, instead of specifying mail/Maildir/.Drafts directly,
in order to correctly initialize certain enhanced maildir features.
Folders cannot be created directly within other folders. Running
maildirmake -f Urgent mail/Maildir/.Drafts will not work. Instead, the
period character is designated as a hierarchy separator, run
maildirmake -f Drafts.Urgent mail/Maildir instead. This creates
mail/Maildir/.Drafts.Urgent, and all mail software that supports
enhanced maildirs will interpret it as a subfolder Urgent of the Drafts
folder.
<-- end snippet from man maildirmake -->
<-- snippet from .mailfilter -->
DEFAULT=$HOME/Maildir/.IN-Personal/
###############################################
# Filter debian-user list messages #
###############################################
if (/^X-Loop: debian-user@lists\.debian\.org$/)
{
to "$HOME/Maildir/.IN-debian-user/"
}
<-- end snippet from .mailfilter -->
Couldn't get it work with
[..]
to "$HOME/Maildir/INBOX.IN-debian-user/"
[..]
Which I'd seen other in other posts.
Must be something to do with INBOX being virtual.
Comments appreciated.
--
Chris.
======
Don't forget to check that your /etc/apt/sources.lst entries point to
etch and not testing, otherwise you may end up with a broken system once
etch goes stable.
Reply to: