Re: [courier-users] About Courer-IMAP Virtual Shared Folder Setup.

This is a discussion on Re: [courier-users] About Courer-IMAP Virtual Shared Folder Setup. within the Courier-Imap forums, part of the Mail Servers and Related category; --===============1430412161== Content-Type: multipart/alternative; boundary="_ff72759d-c62d-4506-8f5f-75889096524e_" --_ff72759d-c62d-4506-8f5f-75889096524e_ Content-Type: ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2007
Data Leung
 
Posts: n/a
Default Re: [courier-users] About Courer-IMAP Virtual Shared Folder Setup.

--===============1430412161==
Content-Type: multipart/alternative;
boundary="_ff72759d-c62d-4506-8f5f-75889096524e_"

--_ff72759d-c62d-4506-8f5f-75889096524e_
Content-Type: text/plain; charset="big5"
Content-Transfer-Encoding: 8bit


Dear Sam ,
Many thanks for your great help ~

Please read the comment below :
> From: mrsam@courier-mta.com> To: courier-users@lists.sourceforge.net> Date: Thu, 10 May 2007 22:59:27 -0400> Subject: Re: [courier-users] About Courer-IMAP Virtual Shared Folder Setup.> > 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:apple.lee@test.com>apple.lee@test.co m> > Username for Julie to login IMAP Server : > > <URL:mailto:julie.lee@test.com>julie.lee@test.co m> > > > 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:user=julie.le

e@test.com>user=julie.lee@test.com 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=================> > <URL:mailto:julie.lee@test.com>julie.lee@test.co m 505
505 > > /home/vmail/domains test.com/julie.lee/> > apple.lee<URL:mailto:apple.lee@test.com>@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.>

So where I could rename Virtual Shared Folder name ?

Should I change from :
julie.lee@test.com 505 505 /home/vmail/domains test.com/julie.lee/
apple.lee@test.com 505 505 /home/vmail/domains test.com/apple.lee/

TO :

julie_lee 505 505 /home/vmail/domains test.com/julie.lee/
apple_lee 505 505 /home/vmail/domains test.com/apple.lee/

and that's suppose to be work ?
Could you give me some index exmaple ?
> 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.> > Is that Thunderbird support IMAP ACLs ?


Thanks alot for your great help and fast responding since I work / search around on it for a long while .

Thanks again .

from Data Leung .
__________________________________________________ _______________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q...n-US&form=QBRE
--_ff72759d-c62d-4506-8f5f-75889096524e_
Content-Type: text/html; charset="big5"
Content-Transfer-Encoding: 8bit

<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
<BR>Dear Sam , <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Many thanks for your great help ~ <BR>
&nbsp;<BR>
Please read the comment below : <BR>
<BR>&gt; From: mrsam@courier-mta.com<BR>&gt; To: courier-users@lists.sourceforge.net<BR>&gt; Date: Thu, 10 May 2007 22:59:27 -0400<BR>&gt; Subject: Re: [courier-users] About Courer-IMAP Virtual Shared Folder Setup.<BR>&gt; <BR>&gt; Data Leung writes:<BR>&gt; <BR>&gt; &gt; Below is the&nbsp; users mailbox path : <BR>&gt; &gt; Example 1 : Users Apple&nbsp;Maildir full <BR>&gt; &gt; path&nbsp;/home/vmail/domains/test.com/apple.lee<BR>&gt; &gt; Example 2 : Users Julie Maildir full path <BR>&gt; &gt; /home/vmail/domains/test.com/julie.lee . <BR>&gt; &gt; Username for Apple&nbsp;to login IMAP Server&nbsp;: <BR>&gt; &gt; &lt;URL:mailto:apple.lee@test.com&gt;apple.lee@tes t.com<BR>&gt; &gt; Username for Julie to login IMAP Server : <BR>&gt; &gt; &lt;URL:mailto:julie.lee@test.com&gt;julie.lee@tes t.com<BR>&gt; &gt; &nbsp;<BR>&gt; &gt; Now I am looking for Julie able to full control Apple "INBOX " <BR>&gt; &gt; &nbsp;<BR>&gt; &gt; So I create a file here&nbsp; /home/vmail/domains/test.co
m/apple.lee/maildiracl<BR>&gt; &gt; In maildiracl , I got these 3 lines:<BR>&gt; &gt; &nbsp;<BR>&gt; &gt; ===============&nbsp; /home/vmail/domains/test.com/apple.lee/maildiracl <BR>&gt; &gt; ===========<BR>&gt; &gt; owner aceilrstwx<BR>&gt; &gt; administrators aceilrstwx<BR>&gt; &gt; &lt;URL:mailto:user=julie.lee@test.com&gt;user=jul ie.lee@test.com ceilprstwx<BR>&gt; <BR>&gt; &gt; ================================================== ================<BR>&gt; &gt; &nbsp;<BR>&gt; &gt; Then&nbsp;I create &amp; run the following scripts&nbsp;to create shared folder index <BR>&gt; &gt; file: <BR>&gt; &gt; ============Authenumerate_start.sh================ <BR>&gt; &gt; #!/bin/sh<BR>&gt; &gt; sysconfdir="/usr/lib/courier-imap/etc"<BR>&gt; &gt; sbindir="/usr/lib/courier-imap/sbin"<BR>&gt; &gt; <BR>&gt; &gt; rm&nbsp;-rf&nbsp;$sysconfdir/shared.tmp<BR>&gt; &gt; mkdir&nbsp;$sysconfdir/shared.tmp&nbsp;||&nbsp;exit&nbsp;1<BR>&gt; &gt; <BR>&gt; &gt; $sbindir/authenumerate&nbsp;-s&nbsp;&gt;$s
ysconfdir/shared.tmp/index&nbsp;||&nbsp;exit&nbsp;1<BR>&gt; &gt; <BR>&gt; &gt; $sbindir/sharedindexinstall<BR>&gt; &gt; ================================================== ==<BR>&gt; &gt; &nbsp;<BR>&gt; &gt; And I run the scripts that I&nbsp;create , I got a index&nbsp;file locate in <BR>&gt; &gt; following&nbsp; path : <BR>&gt; &gt; /usr/lib/courier-imap/etc/shared/index<BR>&gt; &gt; &nbsp;<BR>&gt; &gt; Inside&nbsp;the index file, there got somethings look like this since UID / GID <BR>&gt; &gt; 505 = users / group vmail<BR>&gt; &gt; ============/usr/lib/courier-imap/etc/shared/index=================<BR>&gt; &gt; &lt;URL:mailto:julie.lee@test.com&gt;julie.lee@tes t.com&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; <BR>&gt; &gt; /home/vmail/domains&nbsp;&nbsp;&nbsp;&nbsp; test.com/julie.lee/<BR>&gt; &gt; apple.lee&lt;URL:mailto:apple.lee@test.com&gt;@tes t.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&
nbsp; <BR>&gt; &gt; /home/vmail/domains&nbsp;&nbsp;&nbsp;&nbsp; test.com/apple.lee/<BR>&gt; &gt; ================================================== ==<BR>&gt; <BR>&gt; Virtual shared folder names cannot contain periods. Periods are used as <BR>&gt; folder hierarchy separator character, in Courier's IMAP folder namespace.<BR>&gt; <BR>&gt; This is a situation where authenumerate will not work correctly -- when your <BR>&gt; login IDs contain periods.<BR>&gt; <BR>
&nbsp;<BR>
So where I could rename Virtual Shared Folder name ? <BR>
&nbsp;<BR>
Should I change from : <BR>
<A href="mailto:julie.lee@test.com">julie.lee@test.co m</A>&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; /home/vmail/domains&nbsp;&nbsp;&nbsp;&nbsp; test.com/julie.lee/<BR>
<A href="mailto:apple.lee@test.com">apple.lee@test.co m</A>&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; /home/vmail/domains&nbsp;&nbsp;&nbsp;&nbsp; test.com/apple.lee/<BR>
&nbsp;<BR>
TO : <BR>
&nbsp;<BR>
<A href="mailto:julie_lee@test.com">julie_lee</A>&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; /home/vmail/domains&nbsp;&nbsp;&nbsp;&nbsp; test.com/julie.lee/<BR>
<A href="mailto:apple.lee@test.com">apple_lee</A>&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; 505&nbsp;&nbsp;&nbsp;&nbsp; /home/vmail/domains&nbsp;&nbsp;&nbsp;&nbsp; test.com/apple.lee/<BR>
&nbsp;<BR>
and that's suppose to be work ?<BR>
Could you give me some index exmaple ?<BR>
<BR>&gt; You do not need to use the same name for virtual shared folders as the login <BR>&gt; ID. You can just put "apple" and "julie" in the shared index file.<BR>&gt; <BR>&gt; &gt; I am looking for, users could edit their own " Maildir home " maildiracl <BR>&gt; &gt; to GRANT / ACCESS the users they want to access without touch " shell "<BR>&gt; <BR>&gt; Your users will need to find an IMAP mail client that actually supports IMAP <BR>&gt; ACLs. Then they'll be able to use their IMAP mail client to set ACLs on <BR>&gt; their own folders.<BR>&gt; <BR>&gt; <BR>Is that Thunderbird support IMAP ACLs ? <BR>
&nbsp;<BR>
Thanks alot for your great help and fast responding since I work / search around on it for a long while . <BR>
&nbsp;<BR>
Thanks again .<BR>
&nbsp;<BR>
from Data Leung .<BR><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>
--_ff72759d-c62d-4506-8f5f-75889096524e_--


--===============1430412161==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============1430412161==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users

--===============1430412161==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0