[imp] domain in imp_get_vinfo

Cedric Tardif sysadmin@destination.ca
Tue Nov 19 16:10:19 2002


Hi,

This function is created for the url in the login screen.

http://mail.web1.com will give you user@web1.com
http://mail.web2.com will give you user@web2.com

REgards

At 10:48 19/11/02, you wrote:
>Nate Mollring wrote:
>>Quoting Marcos Monge <mmonge@satec.es>:
>>
>>>I have a little problem with IMP 3.1/horde 2.2.
>>>I have IMP in one web server (only 1 web domain), and multiple imap servers,
>>>
>>>configured in servers.php, each server with his own maildomain/realm value.
>>>
>>>My users are in ldap. The mail address and the uid are different (the login in the imap server must be with uid) 
>>>I want that the users do login via web using his mail address (only the first part), and choose the server. For example:
>>>
>>>uid=pepe
>>>mail=jose@subdomain1.domain.com
>>>
>>>I want the user only put "jose" in the login screen, and choose "@subdomain1.domain.com" from the server list.
>>If you want to login using the mail userid, use imap to authenticate.
>
>
>This is what I'm using... In servers.php I have several servers (all IMAP), each with a different subdomain.
>
>I need that this domain defined in servers.php is avalaible in imp_get_vinfo function, to compose the mail addres of the user, and search in the ldap for the correct UID that will be used to connect to the IMAP server.
>
>The user type the first part of his email addres, his password, and choose the  adecuate server. I need the value of "maildomain" or "realm" that is configured in servers.php for that server, in the imp_get_vinfo function, but I don't know the variable that contains this data. I have tried with the variable $realm, and $realm_value without success :(
>
>
>-- 
>Un Saludo
>Marcos Monge <mmonge@satec.es>
>Area de Sistemas
>
>
>-- 
>IMP mailing list
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org



More information about the imp mailing list