Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: rsgooch on May 22, 2006, 07:50:35 AM
-
I am trying to figure out how to setup SME to only allow certain users webmail access. Global is fine if you want everyone to have webmail access. We want to limit webmail access to our sales staff only. I have looked at the docs for IMP and Horde, but they are not that informative. Any help would be deeply apreciated.
Thanks,
rsgooch
Brisbane, Austraila
-
I am trying to figure out how to setup SME to only allow certain users webmail access. Global is fine if you want everyone to have webmail access. We want to limit webmail access to our sales staff only. I have looked at the docs for IMP and Horde, but they are not that informative. Any help would be deeply apreciated.
Thanks,
rsgooch
Brisbane, Austraila
Modify your templates to have the webmail directories only accessible by users of the sales group using Apache's mod_auth and external password verification like what is done for the server-manager.
It would look something like this:
<Location /home/httpd/html/horde/imp>
# How to authenticate a user
AuthType Basic
AuthName "Please log in"
AuthExternal pwauth
# Only authenticated groups and users may access the repository
Require group salesgroup1
Require user salesperson1
</lcoation>
For more information look into the documentation of Apache:
- mod_auth (http://httpd.apache.org/docs/2.0/mod/mod_auth.html)
- Require (http://httpd.apache.org/docs/2.0/mod/core.html#require)
Be advised that this is a trail of thought, it might not work (att all) and there might be typos or information missing, nothing is tested!