[imp] (Default) Identities vs. 'from' hook

Chuck Hagenbuch chuck@horde.org
Sun, 23 Jun 2002 22:08:07 -0400


Quoting Stefan Ott <sot@simple.ch>:

> We're using IMP 3.1 on a mailserver for quite a lot of domains. In order
> to have usable from: addresses I created a function for
> $conf['hooks']['from'] which parsese sendmail's virtusertable. However,
> this seems to override (as stated in the config file) the user's
> identity. As some users might want to change their identity, this is
> rather unsuitable.

This scenario makes sense to me in general, so I've changed the ordering in 
HEAD - identities now override the from hook, unless, of course, there are 
none or they're locked.

Anyone object to this being merged?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in 
the arms of silence. All we ever have is here, now." - Ursula K. Le Guin