Dear List ,
Below is my testing server enviorment :
CentOS 4.4
postfix-2.2.10-1.RHEL4.2
courier-imap-4.1.2
courier-authlib-0.59.1
openldap-2.2.13-6.4E
I am looking for share users INBOX , and my mail server is running as
Virtual Domain style . Below is the users mailbox path : Example 1 : Users
Apple Maildir full path /home/vmail/domains/test.com/apple.leeExample 2 : Users
Julie Maildir full path /home/vmail/domains/test.com/julie.lee . Username for
Apple to login IMAP Server : [EMAIL PROTECTED] for Julie to login IMAP Server :
[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/maildiraclIn
maildiracl , I got these 3 lines:
=============== /home/vmail/domains/test.com/apple.lee/maildiracl
===========owner aceilrstwxadministrators [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/index
Inside the index file, there got somethings look like this since UID / GID 505
= users / group vmail
============/usr/lib/courier-imap/etc/shared/index=================
[EMAIL PROTECTED] 505 505 /home/vmail/domains
test.com/julie.lee/[EMAIL PROTECTED] 505 505 /home/vmail/domains
test.com/apple.lee/
====================================================
I also confirm that I have a line like this under :
/usr/lib/courier-imap/etc/imapd to make sure IMAP work with index file that i
create before :
============== LINE in /usr/lib/courier-imap/etc/imapd =============
IMAP_SHAREDINDEXFILE=/usr/lib/courier-imap/etc/shared/index
==========================================================
Afterwards I login by Julie.lee username and password , try to search around
apple.lee Shared INBOX , but I get back nothing.Here is the stuff I want : I am
looking for, users could edit their own " Maildir home " maildiracl to GRANT /
ACCESS the users they want to access without touch " shell "
I believe that I got somethings missing ~
So is there anyone can drive me how-to setup Virtual Shared Folders ? Thanks
From Data Leung
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline-------------------------------------------------------------------------
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