On Thu, 3 Jan 2002, Jim Scott wrote:
> I have just recently setup courier imap and have some questions about
> shared folders. I would like to setup several shared folders that
> certain users would have access to that would provide access to email
> for [EMAIL PROTECTED] [EMAIL PROTECTED] and [EMAIL PROTECTED]
...
> Is it possible to share a persons Maildir Inbox as a shared folder? If
> not what other ways will accomplish this?
While Courier doesn't do this "out of the box", it can be made to do so
fairly easily.
The first thing you need to do is patch Courier to deliver messages with a
different umask. Edit courier/module.local/deliver.c, find the line that
reads:
umask(077);
Change the value to 007.
That's it. Courier can now deliver to shared mailboxes. You have a
couple of options as to the best way to inject messages into those
mailboxes, though.
You could create a "sharedfolders" group on your system, create a set of
shared folder collections as documented, and then change the permissions
of the folders, adding set-gid. Just set up aliases in courier to point
directly to the mailboxes.
Your could also add a "sharedfolders" user AND group to your system (that
group should be the user's primary group), and set up your shared folders
in that user's home directory. In this setup, you'd need two sets of
aliases. First, courier would need to alias "sales" to
"sharedfolders-sales", and then you'd need .courier-sales set up in the
sharedfolders user's home directory to deliver messages to the "sales"
mailbox.
In either case, any users that need access to the shared folders would
need to be members of the "sharedfolders" group, and would need the rest
of the configuration as specified in the documentation for shared folders.
--
If I had a dollar for every brain that you don't have,
I'd have one dollar. - Squidward to SpongeBob
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users