[Imap-uw] best way to share access to folders between two users?
kangas at luxsci.com
Tue Sep 25 17:25:54 PDT 2007
Aaron W. LaFramboise wrote:
> Tim Mooney wrote:
>> Is there a better way to accomplish what I'm trying to do? Are there
>> any pitfalls to the approach I'm considering?
> You're doing the same thing I'd do, if I just needed something that
> would work without hassle.
> Another approach, maybe not better, is to use PAM, if your system
> supports it, and set up some sort of way for the assistant to
> authenticate as the VP with imap.
This reminds me of yet another solution.
* Create a new user in your password file with the same UID / GID /
directory path as the VP. However, the username and password for this
user will be different.
* Use PAM and list files to restrict access granted by logging in as
this user to only IMAP
This will give the 2nd user full access to the VP's email via IMAP and
not provide any other acces to the VPs accounts. It also separates the
The limitation is that it gives full access to ALL of the VPs folders.
If you want limited access to some folders or read only access to some
folders, this won't work.
We have used this exact solution successfully for various purposes using
RedHat Linux and UW IMAP for many years.
More information about the Imap-uw