Sam,

Looking at the code in maildirnewshared.c I found my mistake and it is in the
file /etc/courier/shared/index: the uid and gid in the backend have the account
name and the code needs the number. I change it to the uid number and gid
number and everything goes fine!


Regards,

M�rio A. Pinho
LymckWeb - http://www.lymck.net


Citando Sam Varshavchik <[EMAIL PROTECTED]>:


M�rio A. Pinho writes:

Hi all,

I follow the instructions in README.sharedfolders to configure virtual shared
folder in Courier-imap version 3.0.3, but no success.


The problem: user1 must see INBOX of user2. user2 set ACLs to user1 to lrsw. It
works fine (in IMAP):
002 list (acl) "" *
* LIST (\HasNoChildren) "." "INBOX.sent-mail" (("ACL" (("owner" "acdilrsw"))))
* LIST (\Unmarked \HasChildren) "." "INBOX" (("ACL" (("owner"
"acdilrsw")("user=user1" "lrsw")("anyone" "lr"))))
002 OK LIST completed


or in "maildiracl -list /home/user2/Maildir INBOX":
owner   aceilrstwx
user=user1   lrstwx
anyone  lr

But it is not annouced the shared folder to user1:
005 list "" *
* LIST (\HasNoChildren) "." "INBOX.sent-mail"
* LIST (\Marked \HasChildren) "." "INBOX"
005 OK LIST completed

The contents of file /etc/courier/shared/index is
user1   vmail   vmail   /home/user1     ./Maildir
user2   vmail   vmail   /home/user2     ./Maildir

What I am missing?

Try "005 list "" "#shared.%"


Virtual shared folders are listed in the #shared hierarchy.



--------------------------------------------------------- Esta mensagem foi enviada utilizando Webmail da LymckWeb.




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to