[imp] Auth problem with realm option

Barry Flanagan barryf-imp@digiserve.ie
Thu, 20 Dec 2001 12:02:15 +0000


On Thursday 20 December 2001 03:06, you wrote:
> Chuck,
>
> On Wed, 2001-12-19 at 14:52, Chuck Hagenbuch wrote:
> > It is not the correct solution. You want the 'vinfo' hook (see
> > imp/config/conf.php).
>
> Please forgive if I am asking something stupid but how to get realms
> inside 'vinfo' hook since $imp is not completed filled with that
> information when the hook is called?
>
> I think that use the realm information supplied in servers.php is better
> than trying to get that from vhost name.

But the whole point of the vinfo hook is to allow you to server virtual 
domains, adding the @domain.com dynamically depending on that the server was 
called as.

Using the $realm setting from servers.php means your stuck with that one 
domain.

We simply have everyone log in with their email address rather than just 
their username. Actually causes less confusion as a surprising number of 
people don't grasp the concept of a username, whereas they all know their 
email address.

-Barry Flanagan