Sam Varshavchik wrote: > Peter Thomassen writes: >> To make messages from new/ available to all users, they must be given >> write access to cur/, new/ and tmp/ (I checked all combinations). >> This, of course, allows them to delete arbitrary messages, sapping the >> read-only mode. >> >> I consider this a bug, isn't it? -- Where are bugs to be reported? > > No, it's not a bug. There is no circumstance under which Courier-IMAP > will place a message into the 'new' subdirectory in a shared folder. > When Courier-IMAP moves a message from a private folder into a shared > folder, the message gets moved directly into the cur directory. > > You must be trying to deliver a message into the shared folder directly, > by your mail server. This is explicitly not supported. From > README.sharedfolders: > > * Do NOT use this maildir as the primary mailbox, INBOX, for an > account. > Instead, you must create this maildir separately, perhaps as > $HOME/Maildir-shared, then set it up as one of your sharable maildirs > (see below), and access it in shared mode. Because you own it, you > have unlimited read/write access to it. The previously mentioned > options will select whether or not access permissions are given to > everyone else, and they do not apply to you.
Later in README.sharedfolders, it is said: "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. " I thought that was the actual reason. > The only mechanism that may be used to place message into a filesystem > permission-based shared folder is by using the IMAP client to copy > messages from your personal folder to the shared folder. Okay, so I simply cannot do with Courier IMAP what I was going to do (setting up an automatic read-only mail archive). I just tried Dovecot, and it allows me to do so using another approach (that also doesn't work with Courier): Setting cur/, new/, tmp/ mode to 0570, so that the group (which the mail server is in) can put messages into the Maildir, while via IMAP, you only can read mail. (Courier says it cannot open the Maildir in this case.) Bye, Peter ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap