Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: vranivran on November 28, 2012, 10:23:30 AM

Title: webmail
Post by: vranivran on November 28, 2012, 10:23:30 AM
Hi,
I need to disabling webmail for some users, but also, other user need to have webmail.
How can I do this?
Best regards!
Title: Re: webmail
Post by: Stefano on November 28, 2012, 10:59:35 AM
Hi,
I need to disabling webmail for some users, but also, other user need to have webmail.
How can I do this?
Best regards!

Hi..

you need to create a custom fragment for httpd.conf, then add a db value to the users you enable

example
Code: [Select]
db accounts setprop username useWebmail true

the httpd.conf fragment will use the auth directives (http://httpd.apache.org/docs/2.2/howto/auth.html) to gran access to webmail

this approach requires a "pre-authentication", i.e. user will be prompted for username/password BEFORE accessing webmail

be aware that a "pre" authenticated user could always log in in webmail using different credentials

I think there are no other ways to disable webmail access since webmail use imap to authenticate users..

HTH
Title: Re: webmail
Post by: vranivran on November 29, 2012, 09:19:24 AM
Thank you!