On Mon, May 05, 2008 at 04:28:51PM +0200, Martin Hochreiter wrote: > ok, > > I somehow managed to get the shared folders now > (by starting the whole installation new) - but I can't > controll the access. > > Formerly I set the file permissions group based - > > (shared)Maildir > |__Folder1 rwxr-x--- owner group1 > |__Folder2 rwxr-x--- owner group2 > |__Folder3 rwxr-x--- owner group3 > > > While subscribing you could only see the Folders of > the group you are in. > > NOW its different. > If the permission isn't e.g Folder1 rwxr-xr-x then > nobody could see the the folders. > And if it's set to rwxr-xr-x .. .everyone could see it > > whats wrong here?
In case you've not seen it, it may be worth checking your setup in detail against this description: http://www.courier-mta.org/imap/README.sharedfolders.html#oldshared Possibly relevant: "The '-S' option to maildirmake to create a maildir that will contain shared folders. The -S option gives group and world read permissions on the maildir ^^^^^^^^^ itself (where group/world permissions are normally not set for a regular maildir). This allows access to any folders in the shared maildir, and that's why you should not use this Maildir directly as your primary mailbox." However that applies to the top-level Maildir, not to the folders within it. One other suggestion: try running imapd directly at the command line. # su - martin_hochreiter $ pwd # check you are in /home/martin_hochreiter $ /path/to/imapd Maildir .. issue IMAP commands here If you get the same "* NO Cannot open message" then you can try the same again, but this time running imapd under strace: $ strace /path/to/imapd Maildir 2>strace.log This should hopefully give you a clearer indication of exactly what file or directory is failing to be accessed. However if the operation is successful, then this proves the problem is to do with setting up the user environment when doing a remote LOGIN (e.g. perhaps the supplementary groups aren't being initialised properly) HTH, Brian. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap