OK I tried this structure (or so I think, perhaps I understood you wrong.
Here are the important passages of my procmailrc:
SHELL = /bin/sh
# Debugging LOGFILE=/data/procmail.log LOGABSTRACT = "all" VERBOSE="on"
DEFAULT=/data/.maildir/
MAILDIR=/data/.maildir/ SPAMBOX=$DEFAULT/$LOGNAME.SPAM/
PROB_SPAM=/$DEFAULT/$LOGNAME.PROB_SPAM/
TESTDIR=/$DEFAULT/$LOGNAME.test/ #To test sorting
# Create a lock so that only one concurrent user mail is checked # Not sure if this is really needed with maildirs BOXLOCK=/data/.mail/$LOGNAME.lock
# To avoid "insecurity" warnings from perl DROPPRIVS=yes
# Spamassassin part that sorts spam into $PROB_SPAM and $SPAMBOX
:0 * ^Subject:.*test.* $TESTDIR
:0 * ^Subject:.*bla.* $MAILDIR/bla/ # The above is a second sorting I had in mind (not user specific)
:0 * .* $DEFAULT/$LOGNAME/ # These mails I get alright
In the courier-imap config file MAILDIR is set to /data/.maildir This directory is 777 for now.
OK if someone could tell me where my mistake is I will be really happy.
Christian
Thomas T. Veldhouse wrote:
You need to sort like this
BAD: user/test
GOOD: user.test/
Note the trailing slash.
Tom Veldhouse
----- Original Message ----- From: "Christian Herzyk" <[EMAIL PROTECTED]>
To: "Gentoo_users" <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 8:18 AM
Subject: [gentoo-user] Courier Imap
Hello again,
here is another mail problem.
I would like to sort my mail (using procmail) into several folders of a maildir.
Something like the following:
user
user/test
user/gentoo/
usr/somethingelse
...
procmails adds the folders new/cur/tmp to each (sub-)directory.
This works fine.
But courier-imap only displays the contents of the "maindir" (user) respectively its new/cur/tmp subdirs.
I cannot acces anything in test and so on.
What do I have to do to get these?
Christian
-- [EMAIL PROTECTED] mailing list
-- [EMAIL PROTECTED] mailing list
-- [EMAIL PROTECTED] mailing list
