Data Leung writes:
Below is the users mailbox path : Example 1 : Users Apple Maildir full path /home/vmail/domains/test.com/apple.lee Example 2 : Users Julie Maildir full path /home/vmail/domains/test.com/julie.lee . Username for Apple to login IMAP Server : <URL:mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] Username for Julie to login IMAP Server : <URL:mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]Now I am looking for Julie able to full control Apple "INBOX "So I create a file here /home/vmail/domains/test.com/apple.lee/maildiracl In maildiracl , I got these 3 lines:=============== /home/vmail/domains/test.com/apple.lee/maildiracl ===========owner aceilrstwx administrators aceilrstwx <URL:mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] ceilprstwx
==================================================================Then I create & run the following scripts to create shared folder index file: ============Authenumerate_start.sh================#!/bin/sh sysconfdir="/usr/lib/courier-imap/etc" sbindir="/usr/lib/courier-imap/sbin" rm -rf $sysconfdir/shared.tmp mkdir $sysconfdir/shared.tmp || exit 1 $sbindir/authenumerate -s >$sysconfdir/shared.tmp/index || exit 1 $sbindir/sharedindexinstall ====================================================And I run the scripts that I create , I got a index file locate in following path : /usr/lib/courier-imap/etc/shared/indexInside the index file, there got somethings look like this since UID / GID 505 = users / group vmail============/usr/lib/courier-imap/etc/shared/index=================<URL:mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] 505 505 /home/vmail/domains test.com/julie.lee/ apple.lee<URL:mailto:[EMAIL PROTECTED]>@test.com 505 505 /home/vmail/domains test.com/apple.lee/====================================================
Virtual shared folder names cannot contain periods. Periods are used as folder hierarchy separator character, in Courier's IMAP folder namespace.
This is a situation where authenumerate will not work correctly -- when your login IDs contain periods.
You do not need to use the same name for virtual shared folders as the login ID. You can just put "apple" and "julie" in the shared index file.
I am looking for, users could edit their own " Maildir home " maildiracl to GRANT / ACCESS the users they want to access without touch " shell "
Your users will need to find an IMAP mail client that actually supports IMAP ACLs. Then they'll be able to use their IMAP mail client to set ACLs on their own folders.
pgpoWcD5ZLQDi.pgp
Description: PGP signature
------------------------------------------------------------------------- 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-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
