[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-users
Subject:    Re: [SM-USERS] vlogin help
From:       Paul Lesneiwski <paul () squirrelmail ! org>
Date:       2005-08-31 3:29:14
Message-ID: 4315240A.2020908 () squirrelmail ! org
[Download RAW message or body]



jonn ah wrote:
> Yes, I tried using $useDomainFromVirtDomainsArray, I've turned it on
> using $useDomainFromVirtDomainsArray = 1;
>  here is my config.php
>  
> $virtualDomains = array(
>  
> //  NOTE: this is a global virtual domain example:
>       'info.com.ph' => array(

The name of this array element has to correspond to what is found in the
URI, otherwise it won't be found at all.  Try changing to
'192.168.0.100' or whatever you use.

>           'org_title'  => '"Your mail"',
>           'motd'       => 'Welcome to SquirrelMail!',
> //  NOTE: you can use the virtual domain's name in any
> //        of these settings, like this:
> //         'org_logo'   => '../images/###VIRTUAL_DOMAIN###_logo.jpg',
>           'org_name'   => 'info.com.ph',
>       ),

I also don't see the domain in this list.
$useDomainFromVirtDomainsArray is useless without it.

 -paul

> I also tried
>  
> $virtualDomains = array(
>  
> //  NOTE: this is a global virtual domain example:
>       '*' => array(
>           'org_title'  => '"Your mail"',
>           'motd'       => 'Welcome to SquirrelMail!',
> //  NOTE: you can use the virtual domain's name in any
> //        of these settings, like this:
> //         'org_logo'   => '../images/###VIRTUAL_DOMAIN###_logo.jpg',
>           'org_name'   => 'info.com.ph',
>       ),
> any ideas?
>  
>  
> 
> */Paul Lesneiwski <paul@squirrelmail.org>/* wrote:
> 
>     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:
>     > >
>     > > test@192.168.1.1
>     >
>     > 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 c an 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'
>     > ......
> 
>     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.
> 
> 
> 
__________________________
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: squirrelmail-users@lists.sourceforge.net
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic