Sam Varshavchik wrote:
> 
> What you want, can only be done using virtual shared folders. This is a 
> completely different configuration that requires you to use virtual mail 
> accounts. See README.sharedfolders.
> 

Awesome, I got it to work the way I wanted!
I had some difficulties in the beginning, but managed to figure it out. Here
are the details in case anybody else is interested:

The plan was to have some public shared folders, that don't belong to any
particular user, but are accessible by all users.
I created a new maildir, then used maildiracl to give all permissions to
anyone:
maildiracl -set .maildir INBOX anyone aceilrstwx
This is most likely too broad, but I can adjust it later.

Then I added a new record to the user/virtual mailbox table. I use a
postgresql backend for both postfix and courier authlib, but I guess it
doesn't make much difference. I added a mailbox record pointing to that new
maildir, with no email address, and login name "public" or something like
that. I even added a "shared_name" column and customized
PGSQL_ENUMERATE_CLAUSE in authpgsqlrc to use it.

Then I restarted courier-authlib, and ran authenumerate and
sharedindexinstall as documented in README.sharedfolders. I was then able to
subscribe to shared folders under the "#shared" namespace (the folders I set
up before were under the "shared" namespace instead).
Seems to work great!

Thanks a lot for the help
Adrian


-- 
View this message in context: 
http://www.nabble.com/Shared-folders-and-multiple-users-tp24059967p24067580.html
Sent from the courier-imap mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to