Home » Kerio User Forums » Kerio Connect » Set Out-Of-Office for user by admin-API

Messages: 4
Karma: 0
Send a private message to this user
We have an own Office Backend software, thats responsible for many things (time tracking, project administrative tasks, holiday requests, etc)
With exchange we automatically configured an out-of-office message for the user, when out-of-office time (like holidays) was granted.
We want to keep it that way, because users tend to forget to set it or choose the wrong text.

But I only found a way to set the out-of-office settings as user for myself. i dont want to store all passwords for all users to impersonate them and set OOO settings for them. and even if i would, it would break if they change their password. Rolling Eyes

Is there a way to set OOO settings as admin for a different user by api?
Ernesto (Kerio)

Messages: 77
Karma: 7
Send a private message to this user
Unfortunately no, it is not possible via the admin console nor via the API, to set the OOO auto-replay for other users

The only suggestion I can give you is to do it at the OS level by editing the file filter.siv that resides in each mailbox and adding something like this:

------------------------------------------------------------ ---
#!1 __WebmailAutoreply__
if true {
vacation :days 7 :rangeEnabled 1 :rangeStart 1484164800 :rangeEnd 1484251200 "I\'m not in the office...will be
back soon.\n";
------------------------------------------------------------ ---

The dates in the script above are in Linux time-stamp format (use date -d <_at_>1484164800 to convert to human-readable format).

Editing the filter.siv file in one or more mailboxes to add a predefined OOO section could be scripted. However, after modifying the .siv files you would need to restart the Kerio Connect service.

So, no, this is not a very nice solution that I would recommend.

Sales Engineer | Kerio
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
Previous Topic: Backup recover not as expected
Next Topic: Active Directory Distribution Groups
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: Wed Nov 21 11:30:33 CET 2018

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