Configuring Timezone Settings Using the Administrator Account

This article describes how to configure the Webmail timezone using the administrator account.

Solution

In order to configure "Time zone" settings for an account you should follow these steps:

  • login via the CLI interface:

telnet <Axigen IP address> <CLI port>
<login> user admin
<password> <provide the admin password>

 

 

  • Go to the WebmailData context for the account:

<#>UPDATE Domain name <domainName>
<domain#> UPDATE Account <name>
<domain-account#> CONFIG WebmailData

 

 

 

 

  • Configure the "Time zone":

<domain-account-webmaildata#> SET timezone <string>
Note: The string can be obtained via Webmail -> Settings -> Webmail Data -> Time zone -> drop down menu.

 

 

 

 

  • Save configuration and exit:

<domain-account-webmaildata#> DONE
<domain-account#> COMMIT
<domain#> COMMIT
<#> EXIT


In order to automate this process for a group of users please use the "set-bulk-accounts.py" tool, which you can download from here. You must also download "cly2.py".

The usage of this tool can be obtained by running the script without any arguments. The specific command for setting the "Time zone" for all the users within the "accounts.txt" file is:
./set-bulk-accounts.py file=accounts.txt host=127.0.0.1 port=7000 webmaildata:timezone=Europe/Bucharest
In order to obtain the "accounts.txt" file you could use "list-accounts.py" tool, also available on the same download site.

 

 

OS: LinuxWindowsFreeBSDNetBSDOpenBSDSolaris
Distros: WindowsDEB based distros amd64FreeBSD 7.x