mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
e8ff9540e5
r40841: fixed typo r40845: always allow username@domain
76 lines
3.9 KiB
PHP
76 lines
3.9 KiB
PHP
<?php
|
|
/**
|
|
* eGroupware EMailAdmin - DB schema
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @author Lars Kneschke
|
|
* @author Klaus Leithoff <kl@stylite.de>
|
|
* @package emailadmin
|
|
* @subpackage setup
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @version $Id$
|
|
*/
|
|
|
|
$phpgw_baseline = array(
|
|
'egw_emailadmin' => array(
|
|
'fd' => array(
|
|
'ea_profile_id' => array('type' => 'auto','nullable' => False),
|
|
'ea_smtp_server' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_smtp_type' => array('type' => 'varchar','precision' => '56'),
|
|
'ea_smtp_port' => array('type' => 'int','precision' => '4'),
|
|
'ea_smtp_auth' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_editforwardingaddress' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_smtp_ldap_server' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_smtp_ldap_basedn' => array('type' => 'varchar','precision' => '200'),
|
|
'ea_smtp_ldap_admindn' => array('type' => 'varchar','precision' => '200'),
|
|
'ea_smtp_ldap_adminpw' => array('type' => 'varchar','precision' => '30'),
|
|
'ea_smtp_ldap_use_default' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_imap_server' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_imap_type' => array('type' => 'varchar','precision' => '56'),
|
|
'ea_imap_port' => array('type' => 'int','precision' => '4'),
|
|
'ea_imap_login_type' => array('type' => 'varchar','precision' => '20'),
|
|
'ea_imap_tsl_auth' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_imap_tsl_encryption' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_imap_enable_cyrus' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_imap_admin_user' => array('type' => 'varchar','precision' => '40'),
|
|
'ea_imap_admin_pw' => array('type' => 'varchar','precision' => '40'),
|
|
'ea_imap_enable_sieve' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_imap_sieve_server' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_imap_sieve_port' => array('type' => 'int','precision' => '4'),
|
|
'ea_description' => array('type' => 'varchar','precision' => '200'),
|
|
'ea_default_domain' => array('type' => 'varchar','precision' => '100'),
|
|
'ea_organisation_name' => array('type' => 'varchar','precision' => '100'),
|
|
'ea_user_defined_identities' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_user_defined_accounts' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_order' => array('type' => 'int','precision' => '4'),
|
|
'ea_appname' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_group' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_user' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_active' => array('type' => 'int','precision' => '4'),
|
|
'ea_smtp_auth_username' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_smtp_auth_password' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_user_defined_signatures' => array('type' => 'varchar','precision' => '3'),
|
|
'ea_default_signature' => array('type' => 'text'),
|
|
'ea_imap_auth_username' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_imap_auth_password' => array('type' => 'varchar','precision' => '80'),
|
|
'ea_stationery_active_templates' => array('type' => 'text')
|
|
),
|
|
'pk' => array('ea_profile_id'),
|
|
'fk' => array(),
|
|
'ix' => array('ea_appname','ea_group'),
|
|
'uc' => array()
|
|
),
|
|
'egw_mailaccounts' => array(
|
|
'fd' => array(
|
|
'mail_id' => array('type' => 'auto','nullable' => False),
|
|
'account_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
'mail_type' => array('type' => 'int','precision' => '1','nullable' => False,'comment' => '0=active, 1=alias, 2=forward, 3=forwardOnly, 4=quota'),
|
|
'mail_value' => array('type' => 'varchar','precision' => '128','nullable' => False)
|
|
),
|
|
'pk' => array('mail_id'),
|
|
'fk' => array(),
|
|
'ix' => array('mail_value',array('account_id','mail_type')),
|
|
'uc' => array()
|
|
)
|
|
);
|