<?php
/** 
 * Zarafa Z-Merge SugarCRM Connector
 * 
 * Copyright (C) 2005 - 2008  Zarafa B.V.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License, version 3, 
 * and under the terms of the GNU General Public License, version 3,
 * as published by the Free Software Foundation.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU (Affero) General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License 
 * and the GNU General Public License along with this program.  
 * If not, see <http://www.gnu.org/licenses/>.
 *  
 * Created on 12.10.2007 by Sebastian Kummer & Manfred Kutas
 *
 * @package Z-Merge
 * @subpackage Zarafa-Connector
 */


/************************************************************
 * Zarafa specific settings
 ***********************************************************/

//Path to php-mapi extension
define("PHP_MAPI_PATH", "/usr/share/php/mapi/");

//Socket to zarafa server
define("ZARAFA_SERVER", "file:///var/run/zarafa");

//Zarafa db name
define ("ZARAFA_DB_NAME", "zarafa");


/************************************************************
 * Z-Merge Zarafa connector specific settings
 ***********************************************************/

//z-merge zarafa soap db settings
define("ZM_DB_SERVER",	"localhost");
define("ZM_DB_USER",	"z-merge-zarafa");
define("ZM_DB_PASS",	"%mysql_passwd%");
define("ZM_DB_NAME",	"z-merge-zarafa");

//SOAP settings
define("ZM_SOAP_NAMESPACE",		"http://localhost/zarafasoap");
define("ZM_SOAP_SERVICENAME",	"ZM_ZarafaSoap");

/**
* Connector Logfile
*
* ATTENTION: Be aware that the logfile will contain personal information
*            from the synchronized objects that may be violating personal
*            rights of your users! 
*
* Valid values: FATAL, ERROR, WARN, INFO, DEBUG
*/

define("ZM_LOGFILE" , "/var/log/z-merge/zarafa-connector.log");
define('ZM_LOGLEVEL' , INFO);
define('ZM_LOGSIZE' , 50);

//time in seconds before request is sent back 
define("ZM_WAIT_FOR_EVENTS", 30);

//supported types
$zm_allowed_types = array('IPM.Task', 'IPM.Contact', 'IPM.StickyNote', 'IPM.Appointment', 'task', 'contact', 'note', 'appointment');

//array with user defined mapi properties
$zm_custom_tags = array();

//Max number of transmitted objects per SOAP request 
define("ZM_MAX_OBJECTS", 50);

//Max number of rows to query on zarafa db 
define("ZM_MAX_CHANGES", 2000);
?>