[imp] Imp + ldap - help

Jan Schneider jan at horde.org
Tue Oct 11 09:44:51 PDT 2005


Zitat von Jean-François Sénéchal <jean-francois.senechal at marche.be>:

> I have installed the latest version of horde and imp
> I use ldap to to authenticate the users
>
> I want to use the "function _prefs_hook_from_addr($user = null)" in
> horde/config/hooks.php to get the ldap mail attribute instead of
> "login at domaine.com"
>
> I set the following, but it doesn't change anything...
>
> *in /horde/config/conf.php :*
> $conf['hooks']['from_addr'] = true;
>
> *in /horde/imp/config/conf.php :*
> $conf['hooks']['from_addr'] = true;
>
> *in /horde/imp/config/prefs.php :*
>
> // user preferred email address for From: line
> // If you lock this preference, you must specify a value or a hook for
> it in
> // horde/config/hooks.php.
> $_prefs['from_addr'] = array(
>   'value' => '',
>   'locked' => true,
>   'shared' => true,
>   'type' => 'text',
>   'desc' =>  _("Your From: address:")
> );

Why don't you follow the documentation, instead of tinkering with some 
random settings?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list