mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-22 02:47:34 +00:00
2800ca05a1
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
102 lines
3.0 KiB
PHP
102 lines
3.0 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is part of the Froxlor project.
|
|
* Copyright (c) 2003-2009 the SysCP Team (see authors).
|
|
* Copyright (c) 2010 the Froxlor Team (see authors).
|
|
*
|
|
* For the full copyright and license information, please view the COPYING
|
|
* file that was distributed with this source code. You can also view the
|
|
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
|
|
*
|
|
* @copyright (c) the authors
|
|
* @author Florian Lippert <flo@syscp.org> (2003-2009)
|
|
* @author Froxlor team <team@froxlor.org> (2010-)
|
|
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
|
|
* @package Settings
|
|
*
|
|
*/
|
|
|
|
return array(
|
|
'groups' => array(
|
|
'mail' => array(
|
|
'title' => $lng['admin']['mailserversettings'],
|
|
'fields' => array(
|
|
'system_vmail_uid' => array(
|
|
'label' => $lng['serversettings']['vmail_uid'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'vmail_uid',
|
|
'type' => 'int',
|
|
'default' => 2000,
|
|
'int_min' => 1,
|
|
'int_max' => 65535,
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'system_vmail_gid' => array(
|
|
'label' => $lng['serversettings']['vmail_gid'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'vmail_gid',
|
|
'type' => 'int',
|
|
'default' => 2000,
|
|
'int_min' => 1,
|
|
'int_max' => 65535,
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'system_vmail_homedir' => array(
|
|
'label' => $lng['serversettings']['vmail_homedir'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'vmail_homedir',
|
|
'type' => 'string',
|
|
'string_type' => 'dir',
|
|
'default' => '/var/customers/mail/',
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'system_vmail_maildirname' => array(
|
|
'label' => $lng['serversettings']['vmail_maildirname'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'vmail_maildirname',
|
|
'type' => 'string',
|
|
'string_type' => 'dir',
|
|
'default' => 'Maildir',
|
|
'string_emptyallowed' => true,
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'panel_sendalternativemail' => array(
|
|
'label' => $lng['serversettings']['sendalternativemail'],
|
|
'settinggroup' => 'panel',
|
|
'varname' => 'sendalternativemail',
|
|
'type' => 'bool',
|
|
'default' => false,
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'system_mail_quota_enabled' => array(
|
|
'label' => $lng['serversettings']['mail_quota_enabled'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mail_quota_enabled',
|
|
'type' => 'bool',
|
|
'default' => false,
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'system_mail_quota' => array(
|
|
'label' => $lng['serversettings']['mail_quota'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mail_quota',
|
|
'type' => 'int',
|
|
'default' => 100,
|
|
'save_method' => 'storeSettingField',
|
|
),
|
|
'system_catchall_enabled' => array(
|
|
'label' => $lng['serversettings']['catchall_enabled'],
|
|
'settinggroup' => 'catchall',
|
|
'varname' => 'catchall_enabled',
|
|
'type' => 'bool',
|
|
'default' => true,
|
|
'save_method' => 'storeSettingResetCatchall',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
|
|
?>
|