Koozali.org: home of the SME Server

webmail

Offline vranivran

  • 8
  • +0/-0
webmail
« 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!

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: webmail
« Reply #1 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 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

Offline vranivran

  • 8
  • +0/-0
Re: webmail
« Reply #2 on: November 29, 2012, 09:19:24 AM »
Thank you!