[imp] problem with hook

Manuel Rodríguez Salgado mrsalgado at gmail.com
Wed Jan 18 23:28:20 PST 2006


Hi,

- i have a problem with imp and hook prefs_hook_from_addr and
prefs_hook_fullname.

- i have enabled in horde3/conf.php the hook:

   $conf['hooks']['from_addr'] = true;
   $conf['hooks']['from_fullname'] = true;

- i have enabled in imp4/conf.php the hook:

   $conf['hooks']['from_addr'] = true;
   $conf['hooks']['from_fullname'] = true;

- i have uncomment in horde4/hook.php the functions
- My configuration of /etc/horde3/prefs.php is:

$_prefs['fullname'] = array(
    'hook' => 'true',
    'locked' => true,
    'shared' => true,
    'type' => 'text',
    'desc' => _("Your full name:")


$_prefs['from_addr'] = array(
    'hooks' => true,
    'locked' => true,
    'shared' => true,
    'type' => 'text',
    'desc' =>  _("Your From: address:")

- imp4/servers.php

$servers['test'] = array(
  'quota' => array(
  'driver' => 'courier',
  'params' => array()
),
'name' => 'test',
'server' => 'localhost',
'hordeauth' => false,
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'INBOX.',
'namespace' => '',
'smtphost' => 'xx.xxx.xxx',
'smtpport' => 25,
'preferred' => '',
'dotfiles' => false,
'hierarchies' => array()
);


Imp don't call the function in hooks.php.

Any idea ??


thanks

--
Manuel Rodríguez Salgado
Email: mrsalgado at gmail.com


More information about the imp mailing list