Koozali.org: home of the SME Server

Webmail per user instead of global access..

rsgooch

Webmail per user instead of global access..
« 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Webmail per user instead of global access..
« Reply #1 on: May 22, 2006, 12:26:49 PM »
Quote from: "rsgooch"
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:

Code: [Select]
<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:
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!
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)