Sorry about sending the mail to you directly paul, I thought I was replying to the list..
 
 
 
Hello,
 
when the functionality im just looking for is I want my users to login with just their usernames excluding the '@domain.com'......
 


Paul Lesneiwski <[EMAIL PROTECTED]> wrote:


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 in side 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).

- paul



__________________________
Open Guild, LLC
http://openguild.net/
Software.Systems.Solutions


-------------------------------------------------------
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

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Start your day with Yahoo! - make it your home page

Reply via email to