Please reply in context. > jonn ah wrote: > > Hi, > > > > Im currently testing vlogin in my LAN (il deploy it when everything's > > ready) and I have in my config.php > > > > $virtualDomains = array( > > // URL for this one might be "mypersonaldomain.net" > > // > > 'info.com.ph' => array( > > 'org_name' => 'infocom philippines, > > 'org_logo' => '../images/info.gif', > > 'org_title' => '(isset($_SESSION["username"]) ? > > $_SESSION["username"] > > . " - Mail" : "Mail")', > > I've made my resolv.conf to use localhost, and /etc/hosts file to > > contain my private ip mapping to the domain that i want (i.e. > > > > 192.168.1.1 info.com.ph > > > > however, when i try to login using username only I get this > resolve error > > > > > > > > Your IMAP login was resolved to: > > > > [EMAIL PROTECTED] > > Because vlogin constructs this info from the URI in the address bar; it > does not try to resolve IPs itself. > > > $hostname is 192.168.1.1 > > > > > ------------------------------------------------------------------------ > > localhost > > > > I've also changed my hostname to reflect the domain i want but to no > > effect.... > > > > Any ideas how I can make this vlogin work using a private ip? > > Well, vlogin could conceivably be changed to query for a domain name > when it finds an IP address in the URI, but before we embark upon that, > please describe exactly which functionality you are trying to obtain > from vlogin. There is also a chance that you can use vlogin unmodified > by turning on $useDomainFromVirtDomainsArray, changing the name of the > host in your configuration to match the IP address, and by specifying > the domain name inside the virtual domains array that is expected for > your usernames (assuming that is what you are trying to do - add the > domain to the username automatically). >
> when the functionality im just looking for is I want my users to login > with just their usernames excluding the '@domain.com' > <mailto:'@domain.com'>...... What format are your IMAP usernames in? Did you try my suggestion? Please do so since I have no other suggestions until you take the advice already given. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
