2007/1/11, Paul Lesniewski <paul@squirrelmail.org>:
On 1/11/07, Fabrizio Regalli <fabreg@gmail.com> wrote:
> 2006/12/29, Paul Lesniewski < paul@squirrelmail.org>:
> >
> > Please do not top post!
> >
> > > >
> > > > 2006/12/28, Paul Lesniewski < paul@squirrelmail.org>:
> > > >
> > > > > On 12/28/06, Fabrizio Regalli < fabreg@gmail.com> wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I've a strange problem with vlogin plugin: it works with one
> domain
> > > only.
> > > > > > I've 5 domains and, with the others it doesn't works. The only way
> for
> > > works
> > > > > > with others if to type name@domain.com at the login time.
> > > > > >
> > > > > > Could someone suggest me something about this thing ?
> > > > >
> > > > > Not unless you give more helpful information about what exactly does
> > > > > not work, how you use the plugin, your versions, debug output for
> > > > > working and non-working domains, and your configuration.
> > > > >
> >
> > > > not works, means that some domains requires "@ domain.com" (as suffix)
> for
> > > login into squirrelmail.
> > > >
> > > > I'm dowload the plugin in the plugins directory, untarred it and
> enable it
> > > via conf.pl
> > > >
> > > > I'm using debian (etch) , squirrelmail 1.4.9a and the latest vlogin
> > > plugin, vlogin-3.9.0-1.2.7
> > > >
> > > > How to enable the debug logs ?
> > > >
> > > I'm seeing the log file of imap server, and I get this error:
> > >
> > > Dec 29 15:34:42 server imapd: LOGIN FAILED, user=fabrizio@< domain.com>,
> > > ip=[::ffff:127.0.0.1]
> > >
> > > It seems to knows only one domain, so if the user is related to
> domain.org
> > > it works but if not, it doesn't works.
> > >
> > > Domain.org  <- works with all users without "@ domain.org" suffix
> > > Domain.net (with user fab, for example) doesn't works becuase it search
> for
> > > fab@domain.org (and not fab@domain.net as I wish)
> > > Domain.biz <- same of domain.net
> > > Domain.info <- same of domain.net
> >
> > Enable debugging by turning on the debug setting in the configuration
> > file.  Show what configuration file you are using and what changes you
> > made in the configuration file.
> >
>
>
> Hello,
> I'm back from my short vacation. Sorry for delay in answer and sorry for top
> post.
>
> As INSTALL file tells, I do this:
>
>       $ cd vlogin/data
>       $ cp config.sample.typical.php config.php
>       $ vi config.php

When you edited config.php, what changes did you make to it?  Did you
make entries in $virtualDomains for each domain?  Did you include the
'domain' setting therein?  Did you change any other settings?
 

> and after, as Paul suggest I've enable vlogin_debug:
>
>   // Turn this on to test your configuration settings - the final
>   // IMAP login value will be presented after all processing has
>   // been completed
>   //
>   $vlogin_debug = 1;
>
> Now I'm trying to loggin with user and I get:
>
>
> Your IMAP login was resolved to:
>
> davide@mailsicura.org
>  ________________________________
>
> $hostname is mailsicura.org
>
> PHP_SELF is /src/redirect.php
>  ________________________________
>  IMAP server: localhost
>
> And I can't see any webpage of squirrel.
> What I miss ?

Nothing.  This ("Your IMAP login") is the username it's trying to log
in with -- you need to determine whether or not it is correct.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Hello again,
 
Yes, I've enable only one domain just for try.
This is the only part modified:

  $virtualDomains = array(

      // URL for this one might be "mypersonaldomain.net"
      //
      'mypersonaldomain' => array(
          'domain'     => ' gattoni.biz',
          'org_name'   => 'Dominio del gatto',
          'org_logo'   => '../images/myface.gif',
          'org_title'  => '(isset($_SESSION["username"]) ? $_SESSION["username"] . " - Mail" : "Mail")',
          'settingsWithEmbeddedPHP' => array(
                                           'org_title',
                                      ),
      ),

But doesn't works for user of "gattoni.biz" .
Thanks.