Koozali.org: home of the SME Server

webmail and customised settings

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
webmail and customised settings
« on: December 05, 2006, 12:46:12 PM »
Hi everyone

Before I execute this massive brainstorm idea of mine i thought I would run it past the forum to see if anybody sees a problem with my idea, ie will it break sme and email and webmail beyond repair:

i want to customise each users webmail settings including domains when I create the user. So i want to write a perl script that will set various settings for the user in the horde mysql db. Is this viable or will it completley break webmail and the horde settings?

some of the changes i want to make is the default domain from dom1 to dom4
setup the identities this user should have
and a few other settings.

OR

should i only do this manually per user from the webmail interface
Kobus............

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
webmail and customised settings
« Reply #1 on: December 05, 2006, 03:30:33 PM »
Well i use roundcube for webmail (it seems nicer) and i have some options to do what you ask (custom domain) and then i change identities by hand.

But this is usefull only if you have a small number of users. Or if you add 5 in one day. Or it becomes wery time consuming.
"It should just work" if it doesn't report it. Thanks!

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
webmail and customised settings
« Reply #2 on: December 05, 2006, 03:36:39 PM »
oh right

i will look into this

is there an rpm for sme7?
Kobus............

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
webmail and customised settings
« Reply #3 on: December 05, 2006, 09:33:01 PM »
Well if you want to install roundcube just stick to readme files and you should be good. You have to make an ibay and mysql database and then just edit the config ini and db files. It should be simple.
"It should just work" if it doesn't report it. Thanks!

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: webmail and customised settings
« Reply #4 on: December 06, 2006, 05:56:57 AM »
Quote from: "kbensch"
Hi everyone

Before I execute this massive brainstorm idea of mine i thought I would run it past the forum to see if anybody sees a problem with my idea, ie will it break sme and email and webmail beyond repair:

i want to customise each users webmail settings including domains when I create the user. So i want to write a perl script that will set various settings for the user in the horde mysql db. Is this viable or will it completley break webmail and the horde settings?

some of the changes i want to make is the default domain from dom1 to dom4
setup the identities this user should have
and a few other settings.

OR

should i only do this manually per user from the webmail interface


No, it shouldn't break webmail.  The worst it should do is give you a user with some messed up settings.  All of the user settings are stored in the mysql db horde_prefs table.  So, if know mysql and scripting, you should be able to setup a user the way you want, then export the mysql db so you can see how it's saved in the DB, then adapt your script to work appropriately.  

Everyone has their own opinion.  I looked at roundcube egroupware, and some others, but stuck with horde.  Roundcube may have a more sexier interface, but the horde developers have a pre-release product called DIMP, which stands for Dynamic IMP which uses AJAX.  You can see some screenshots here - https://demodimp.ec-nantes.fr/imp/login.php

My .02,

John
......

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
webmail and customised settings
« Reply #5 on: December 06, 2006, 08:59:59 AM »
Thank you all for the replies.

I will prob post my final result here so if there is anybody else that want to do this.


Bye for now to do some scripting
Kobus............