[ingo] Vacations problem

Nicolás Valera nvalera at gmail.com
Thu Jun 26 15:28:19 UTC 2014


Hi, i have followed this post 
(http://lists.horde.org/archives/ingo/Week-of-Mon-20140203/002217.html) 
but it doesn't work for me.

It seems like it doesn't use my custom parameters.

Here is my backend.local.php

$backends['imap']['disabled'] = true;
$backends['customsql']['disabled']=false;
$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'] 
= '10.10.0.100';
$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'] 
= 'postfix';
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['charset'] 
= 'utf-8';
$backends['customsql']['transport'][Ingo::RULE_ALL]['params']['sql']['ssl'] 
= 'false';
$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 autoresponder SET active = 0 WHERE address = %u';
$backends['customsql']['script'][Ingo::RULE_ALL]['params']['vacation_set'] 
= 'REPLACE INTO autoresponder (active, subject, message, address) VALUES 
(1, %s, %m, %u)';

Thanks in advance!


More information about the ingo mailing list