RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > Release Candidate 1

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 06-13-2007, 10:59 AM
Registered User
 
Join Date: Jun 2007
Posts: 3
Downloads: 0
Uploads: 0
Default Login inconsistencies

I keep getting random "a001 NO Login failed." error. I create a new mailbox for a particular domain name, it works fine. I create another mailbox for a different domain name, it doesn't work. It seems as if it has a mind of it's own!

I have added a little function to the bottom of main.inc.php that looks like this:

Code:
function host_name() {
    if ( strstr($_SERVER['HTTP_HOST'], 'www') )
    {
        return substr($_SERVER['HTTP_HOST'], 4, strlen($_SERVER['HTTP_HOST']));
    }
    else if ( strstr($_SERVER['HTTP_HOST'], 'webmail') )
    {
        return substr($_SERVER['HTTP_HOST'], 8, strlen($_SERVER['HTTP_HOST']));
    }
    else
    {
        return $_SERVER['HTTP_HOST'];
    }
}
I have the webmail subdomain across multiple websites, Apache takes care of it all.

Code:
<VirtualHost \
 IP1:80 \
 IP2:80 \
 IP3:80 \
 IP4:80 \
>
    DocumentRoot /var/www/vhosts/webmail/roundcube/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off

    <Directory /var/www/vhosts/webmail/roundcube>
        php_admin_flag engine on
        php_admin_flag magic_quotes_gpc off
        php_admin_flag safe_mode off
        php_admin_value open_basedir "/var/www/vhosts/webmail:/etc/psa:/tmp"
    </Directory>
</VirtualHost>
This is where I'm using the host_name():

Code:
$rcmail_config['default_host'] = host_name();
$rcmail_config['mail_domain'] = host_name();
I've checked my maillogs and there doesn't seem to be any errors for invalid logins or error logins...

Anything else that I'm missing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-13-2007, 08:33 PM
Registered User
 
Join Date: Jun 2007
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Login inconsistencies

No takers?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-14-2007, 06:39 PM
Registered User
 
Join Date: Jun 2007
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Login inconsistencies

Guys, did any of you get Rouncube working on Plesk 8 across multiple domains from a single install (like a shared script a la Horde)?

Cheers!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community