1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-22 06:30:59 +01:00
egroupware_official/emailadmin/inc/class.emailadmin_smtp_mandriva.inc.php
2014-07-09 17:51:10 +00:00

85 lines
1.8 KiB
PHP

<?php
/**
* EGroupware: Postfix with Mandriva mailAccount schema
*
* @link http://www.egroupware.org
* @package emailadmin
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2010-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @version $Id$
*/
/**
* Postfix with Mandriva mailAccount schema
*/
class emailadmin_smtp_mandriva extends emailadmin_smtp_ldap
{
/**
* Capabilities of this class (pipe-separated): default, forward
*/
const CAPABILITIES = 'default|forward';
/**
* Name of schema, has to be in the right case!
*/
const SCHEMA = 'mailAccount';
/**
* Attribute to enable mail for an account, OR false if existence of ALIAS_ATTR is enough for mail delivery
*/
const MAIL_ENABLE_ATTR = 'mailenable';
/**
* Attribute value to enable mail for an account, OR false if existense of attribute is enough to enable account
*/
const MAIL_ENABLED = 'OK';
/**
* Attribute for aliases OR false to use mail
*/
const ALIAS_ATTR = 'mailalias';
/**
* Primary mail address required as an alias too: true or false
*/
const REQUIRE_MAIL_AS_ALIAS=false;
/**
* Attribute for forwards OR false if not possible
*/
const FORWARD_ATTR = 'maildrop';
/**
* Attribute to only forward mail, OR false if not available
*/
const FORWARD_ONLY_ATTR = false;
/**
* Attribute value to only forward mail
*/
const FORWARD_ONLY = false;
/**
* Attribute for mailbox, to which mail gets delivered OR false if not supported
*/
const MAILBOX_ATTR = 'mailbox';
/**
* Attribute for quota limit of user in MB
*/
const QUOTA_ATTR = 'mailuserquota';
/**
* Log all LDAP writes / actions to error_log
*/
var $debug = false;
/**
* Return description for EMailAdmin
*
* @return string
*/
public static function description()
{
return 'LDAP (Mandriva '.static::SCHEMA.')';
}
}