Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » ASP/PHP How to automate the management

Messages: 2
Karma: 0
Send a private message to this user
Hi Guys,

I was testing Kerio Mailserver to use it for a hosting service. I just can't find any way to automate the mailserver administration/management. We want to add some functions to our control panel like:

- create a new email domain
- create or delete user accounts
- manage password
- manage forwards, auto responders, aliases

Is it possible "at all" to do these things? Maybe there's a COM component or a command line interface to manage the mailserver? Perhaps I can directly edit the CFG files, or isn't that a good idea?

Thank you in advance...

Kind regards,
Thomas Lobker, MediaServe

Messages: 2119
Karma: 3
Send a private message to this user
AFAIK there is no API to connect to the server so there's no direct way of configuring KMS outside of the built in ways.

You could edit the cfg file, however:
- The cfg file is only read in upon server start, and
- Upon server stop the cfg file is written back (so if you modify it with a running server, the modifications wil be overwritten upon stoppen KMS.

This all means changing the cfg-file is only usefull with a stopped KMS. This may or may not be a problem for you.

Messages: 2
Karma: 0
Send a private message to this user
Hi winkelman,

Thanks for your quick reply. So as far as I understand, the only way is to stop the server, edit the CFG files, then start the server again. I think that can be done with a scheduled task every hour :)

edit: perhaps a suggestion for the next release, to implement an API

[Updated on: Fri, 04 November 2005 19:42]

Kind regards,
Thomas Lobker, MediaServe

Messages: 462
Karma: 0
Send a private message to this user
MediaServe wrote on Fri, 04 November 2005 10:41

I think that can be done with a scheduled task every hour :)

That wouldn't be terribly realistic as anyone using webmail would be kicked out when the mail server restarted. This would especially anger users in the middle of typing up a long email message.

For user administration, you could look at using an external directory service, such as Active Directory or Open Directory and link KMS to that.

Basically everything else you listed there, KMS is not currently designed to do at all. Although user account stuff could be handled by the Kerio web admin interface in 6.1.

Kerio MailServer 6.7.1 w/AD
Windows Server 2003 SP 1
Dell PowerEdge 2850 (Dual Xeon 3.2ghz and 2 GB RAM)
~1300 users
~1000+ concurrent IMAPS connections
iPhone users
Outlook 2007 KOFF users
Apple iCal 10.5/10.6 users
Previous Topic: Feature request
Next Topic: Auto Creation of email accounts
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 23 02:29:20 CET 2017

Total time taken to generate the page: 0.00378 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.