Author Topic: Zentyal 3.5 Moving from Mail&Webmail to OCServer&OCWebMail?  (Read 1821 times)

shadowfire

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +4/-0
    • View Profile
Guys,

Does anyone know if there is a procedure to move from Mail and Webmail to OpenChange Server and OpenChange Web Mail?   Or if I can uninstall Mail and Webmail, and just install OpenChange models.  I am interested in having the groupware side of things.  At the same time I don't want to loose emails from my Mail side.  I thoght I read some where that it uses Postfix and that it will be fine to switch.  But I wanted to make sure I ask to make sure.

Thanks for your help,

-SF-
« Last Edit: July 28, 2014, 06:58:30 am by shadowfire »

shadowfire

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +4/-0
    • View Profile
I went ahead and downloaded the mail via pop and  uninstalled Mail and Webmail.

I then installed the OpenChange Server and OpenChange Webmail.


Now the problem I am having now is starting the OpenChange Server and the OpenChange Webmail through the Dashboard.  I would rather it work throught the Dashboard, but can I start it through the cli as well?

Any help would be appreciated,

Thanks,

-SF-
« Last Edit: July 28, 2014, 04:45:27 am by shadowfire »

mtrogg

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +4/-0
    • View Profile
Re: Zentyal 3.5 Moving from Mail&Webmail to OCServer&OCWebMail?
« Reply #2 on: July 28, 2014, 04:44:34 pm »
I don't know too much about zentyal (yet), but to do some adapted tasks I  believe you can use the ebox documentation to melt stuff in, again I haven't seen much about it, but many templates that I guess are usable to adapt I found residing in,

/usr/share/zentyal

look through there, specially subdirectories stubs and templates might be useful.

For myself I did a simpler solution, since I needed it for some shell scripts and needed a very quick solution for some simple buttons and had an open line for webserver,

Used http auth module together with ssl only on the outside open ip (for security, since its into your system), shell scripts i use in cron are called via setuid binary via php system function. Then I just wait a few seconds and check on shell script output log file size/time/date to see ifs it correct so i can return succesful via php.

for example, my c script to call cron shell script for remote management via webserver;

Code: [Select]
#include <stdio.h>

void main (void) {
        system ("nohup nice -n 10 /bin/sh /srv/www/.dekluis/eorlease 172.16.31.1 \"pass\" > /srv/www/.publicos/eorlease.b7 & printf \"%u\" $!");
        system ("nohup nice -n 10 /bin/sh /srv/www/.dekluis/eorlease 172.16.31.2 \"pass\" > /srv/www/.publicos/eorlease.b3 & printf \"%u\" $!");
        system ("nohup nice -n 10 /bin/sh /srv/www/.dekluis/eorlease 172.16.31.3 \"pass\" > /srv/www/.publicos/eorlease.b5 & printf \"%u\" $!");
        system ("nohup nice -n 10 /bin/sh /srv/www/.dekluis/enhlease > /srv/www/.publicos/enhlease & printf \"%u\" $!");
}

you need chmod +s after compiling such script depending on what the called script does. eorlease and enhlease in this example are my shell scripts I use in cron too. so just one script for the job that zentyal doesnt offer (in my case some repeater management) to automate network management through server, use same script via this simple program to call via web for rremote management.

maby an idea?

Greetings!

[edit]oops, forgot to mention that maby most important reason might be updating. if you mingle your third party things into zentyal via stubs/templates of ebox or something, you risk loosing your changes while updating and thats also one of my main reasons to do a few simple external tasks like this. but you need enable a outside website for that, id really suggest ssl only in combination with some auth password, since especially such setuid solutions well can turn ugly on real production environments especialy when dependent on it. if security really is an issue, absolutely ip restrict access to such webserver too.
« Last Edit: July 28, 2014, 06:27:47 pm by mtrogg »