I'm trying to set up some shared folders in a system that uses virtual 
domains stored in a mysql database. 

First I set the auxoptions in mysql to disableshared=0 so that 
authdaemond sees the mailbox as shareable

[EMAIL PROTECTED] shared]# authenumerate -s
[EMAIL PROTECTED]       1007    1010    /opt/mail       
/opt/mail/domain.com/[EMAIL PROTECTED]/

Then I created an index file.

[EMAIL PROTECTED] shared]# cat /usr/lib/courier-imap/etc/shared/index
[EMAIL PROTECTED]       1007    1010    /opt/mail/    
/domain.com/[EMAIL PROTECTED]/

The base mail directory is /opt/mail.  Virtual user maildirs are under 
/opt/mail/domainname/[EMAIL PROTECTED]/ 

[EMAIL PROTECTED] shared]# ls -la /opt/mail/domain.com/[EMAIL PROTECTED]/
total 52
drwx------  10 vmail vmail 4096 Jun 27 23:39 .
drwx------  16 vmail vmail 4096 Jun 27 23:35 ..
-rw-r--r--   1 root  root    54 Jun 27 23:33 courierimapacl
drwx------   2 vmail vmail 4096 Jun 27 23:39 courierimapkeywords
-rw-r--r--   1 vmail vmail   47 Jun 27 23:39 courierimapsubscribed
-rw-r--r--   1 vmail vmail   67 Jun 27 23:39 courierimapuiddb
drwx------   2 vmail vmail 4096 Jun 27 23:39 cur
drwx------   6 vmail vmail 4096 Jun 27 23:39 .Drafts
drwx------   2 vmail vmail 4096 Jun 27 23:39 new
drwx------   6 vmail vmail 4096 Jun 27 23:39 .Sent
drwx------   6 vmail vmail 4096 Jun 27 23:39 .test
drwx------   2 vmail vmail 4096 Jun 27 23:44 tmp
drwx------   6 vmail vmail 4096 Jun 27 23:39 .Trash


Then I set the acls so that this folder is viewable by everyone

[EMAIL PROTECTED] shared]# maildiracl -set 
/opt/mail/puryear-it.com/[EMAIL PROTECTED]/ INBOX anyone lr
[EMAIL PROTECTED] shared]# maildiracl -list 
/opt/mail/puryear-it.com/[EMAIL PROTECTED]/ INBOX
owner   aceilrstwx
administrators  aceilrstwx
anyone  lr

Then I restart courier-authlib and courier-imap

At this point I think I should see the shared folders in my email 
client, but they don't show up.  Anyone got any ideas?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to