Shared Mailboxes

The Informatics mail service,, supports shared mailboxes. These appear to IMAP aware mail clients as the path #shared/....

#shared/ equates to the homedirectory of the user imapshared on the mail server. So to create a new shared mailbox, you just need to create a new folder/file in /home/imapshared/ on mail.inf. However there are a few things to bare in mind:

  1. To be shared you'll need to use regular unix filesystem group file permissions so that everyone in that group can access/alter the folder, this normally means group readable and writeable. If you've just created the group and/or added people to that group, you need to make sure that LDAP has updated on the mail server, and that any existing imapd processes owned by the user have been restarted (they will only have the group information for the user when the imapd was started).
  2. If you create a new shared directory within ~imapshared then you'll want to make that directory group read/write and execute. You'll also want to set the group sticky bit so that any new mailfolders created by the users get the shared group, and not the default 'people'. eg cd ~imapshared; mkdir sysman; chgrp sysman sysman; chmod g+srwx sysman
  3. It's like that to be of much use, you'll want mail to be delieved into one of these shared mailboxes! For this to happen the mail needs to be addressed to imapshared and then filed via its .procmailrc. IMPORTANT when editting its .procmailrc make sure you do this as the user imapshared, ie so the file remains owned by imapshared, otherwise mail will not be filed, it will all go into his INBOX. This .procmailrc is under RCS control. You'll also need to make sure that the place it is filing to is owned by imapshared.

I think that covers the basics for now. More details when pressed!


-- NeilBrown - 20 Feb 2007

Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 20 Feb 2007 - 16:45:58 - NeilBrown
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies