[imp] Locking the ability to change the From header in outbound mail.
Robin Polak
robin.polak at gmail.com
Mon Sep 22 20:14:26 UTC 2008
On Fri, Sep 19, 2008 at 11:56, Andrew Morgan <morgan at orst.edu> wrote:
> On Fri, 19 Sep 2008, Robin Polak wrote:
>
> If am having trouble locating a setting to successfully lock the ability
>> to
>> change the From field in outgoing mail. I would really appreciate any
>> guidance those viewing this list may offer.
>>
>
> In horde/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,
> 'hook' => true,
> 'shared' => true,
> 'type' => 'text',
> 'desc' => _("Your From: address:")
> );
>
>
> Then use a "_prefs_hook_from_addr" in horde/config/hooks.php to set the
> From address. Users will still be able to set their Fullname, but not the
> email address.
>
> Andy
>
Thank You, I was able to successfully disable the From field by setting the
from_addr pref as you quoted above and configuring a hook for it in the
hooks.php config file to resolve from LDAP.
--
Robin Polak
E-Mail: robin.polak at gmail.com
V. 917-494-2080
More information about the imp
mailing list