Oliver Block writes:

Hello everybody,

After taking the following steps:

--------------------------------------------------

1. Creating a Mailbox

00000008 CREATE INBOX.berta
00000008 OK "INBOX.berta" created.

2. setting acl

maildiracl -set /var/qmail/mailnames/example.com/testuser/Maildir/ INBOX.berta anyone lr

3. Editing /etc/courier-imap/shared.tmp as fillows

testu...@example.com courier courier /var/qmail/mailnames/example.com/testuser/ ./Maildir

The above should be on one line. Furthermore, the second and the third fields are numeric userid and groupids, not usernames and groupnames.

4. Calling sharedindexinstall

--------------------------------------------------

There is a file called /etc/courier-imap/shared/index with the following content:

testu...@example.com courier courier /var/qmail/mailnames/example.com/testuser/ ./Maildir


Now my question:

1. Does the fact that I do find the content of shared.tmp/index in shared/index, after calling sharedindexinstall, prove that the configuration was correct?

No. All that sharedindexinstall does is make sure that your new shared index files are installed atomically, so that any process reading the shared index file never sees a partially-installed file.


2. Why does LIST only return results on folder 'berta' when send as owner (testu...@example.com) like

LIST "" "INBOX.*"

but not when send as
LIST "" "#shared.*"

neither by owner nor by any other user.?

The owner never sees his own folders via #shared in any case. One of the problems is that the shared index file needs numerical uids and gids, not usernames and groupnames. You may very well have other issues, but that's one thing that needs to be fixed.

Attachment: pgpwLEoYYVvte.pgp
Description: PGP signature

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to