Sam Varshavchik said: > Michael Nguyen writes: > >> I have a Courier administration question. Our current IMAP server >>allows us >> to login as a super user (postmaster) and have the ability to read and >> manipulate any mailbox we choose via IMAP. Basically we login as >>postmaster >> and can open any folder than we specify. This is tremendously helpful >>when >> writing customer service tools. I was wondering if we'd be able to do >> something similar with Courier. Can we somehow form a user with a home >> directory that's above the home directory of other maildirs and be able >>to >> access other directories that way? >> >> I hope that email made sense... > > No. > > The closest thing would be a configuration that uses virtual mailboxes > with > access control lists. Then, if the individual mailbox gives the necessary > access rights to the administator's login ID, the admin will be able to > manipulate that mailbox. > >
Using virtual accounts (LDAP), a global uid/gid for all users and a few PHP scripts I've been able to setup something along these lines. The web page script requires an administrator authentication, the admin can then specify a user's account and a special account is symlinked to that user's home directory. i.e. The admin wants to look at JDOE's mailbox, after authenticating and choosing JDOE, the PHP script symlinks /var/mail/JDOE to /var/mail/IS_STAFF. The admin can then login as IS_STAFF and see all of JDOE's IMAP folders as JDOE would. Not sure about the wisdom of this approach but it works for me. Jay -- Jay Lee Network / Systems Administrator Information Technology Dept. Philadelphia Biblical University -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
