[horde] Enabling Vacation option

carlo at unipg.it carlo at unipg.it
Tue Apr 29 11:33:04 UTC 2014


Dear all,

this is my first message in the list. I’m running Horde Groupware 5.1.4 and Ingo 3.1.4.
I need to add the vacation option to those already available (blacklist/whitelist).
I’m dealing with the ‘customsql’ backend, but no success (error on accessing with ‘Failed to import configuration file').

I’m using a backends.local.php file in which I specified:

$backends['customsql']['disabled']=false; 
$backends['customsql']['preferred']=‘<domain>'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['driver']='sql'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['username'] = ‘<user>'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['password'] = ‘<pass>'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['hostspec'] = ‘<ip>'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['port'] = '3306'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['protocol'] = 'tcp'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['database'] = ‘<database>'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['charset'] = 'utf-8'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['ssl'] = 'true'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['splitread'] = 'false'; 
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['phptype'] = 'mysql'; 
$backends['customsql']['script'][Ingo::RULE_ALL]['driver'] = 'customsql'; 
$backends['customsql']['script'][Ingo::RULE_ALL]['params']['vacation_unset'] = 'UPDATE vacation SET active = 0 WHERE user = %u'; 
$backends['customsql']['script'][Ingo::RULE_ALL]['params']['vacation_set'] = 'REPLACE INTO vacation (active, subject, message, user) VALUES (1, %s, %m, %u)’; 

is this the right way? can anyone help me please?
Thank you very much.
—Carlo


More information about the horde mailing list