File: D:/web/mailadmin/config-dist.php
<?php
// Global configuration.
/*
=== IMPORTANT NOTE ===
http://php.net/manual/en/com.installation.php
"As of PHP 5.3.15 / 5.4.5, this extension requires php_com_dotnet.dll to be enabled inside of php.ini in order to use these functions.
Previous versions of PHP enabled these extensions by default."
[COM_DOT_NET]
extension=php_com_dotnet.dll
*/
/*
The full URL to the site where PHPWebAdmin will be running. Must end in / and for ssl use https vs http.
This URL *MUST* work when typed in browser or phpwebadmin will not work sice it's used for redirects.
Example:
$hmail_config['rooturl'] = "http://www.mydomain.com/PHPWebAdmin/";
*/
$hmail_config['rooturl'] = "http://localhost/";
/*
The user interface language for PHPWebAdmin. Note that this language
must be set up as a valid language in hMailServer.ini.
Example:
$hmail_config['defaultlanguage'] = "english";
*/
$hmail_config['defaultlanguage'] = "english";
/*
The rule_editing_level setting defines who should be allowed
to edit rules. By default, only the server administrator is
allowed to change the rules.
You can change this setting if you want domain administrators
or normal users to be able to edit rules. If you give end-users
access to rule editing, you should be aware that these users
may be able to set up rules which will cause problems on the
server. As an example, they may be able to set up rules which
generates endless loops of messages.
Only give end-users or domain administrators rights to rules if
you trust them to use it wisely.
If you give domain administrators and end-users access to rules,
they will only be allowed to edit account-level rules. Server wide
rules are only accessible by the server administrator.
Possible values:
0 - All users on the server should be allowed access.
1 - Domain administrators and server administrators should be
allowed access.
2 - Only server administrators should be allowed access.
*/
$hmail_config['rule_editing_level'] = 2;
?>