Author Topic: unable to login to other servers..  (Read 4561 times)

Offline anshu

  • Newbie
  • *
  • Posts: 4
unable to login to other servers..
« on: October 28, 2007, 02:15:06 AM »
Hi,
 have very strange problem which i am not able to understand, when i try to login my own POP /IMAP account thro' roundcube it is very well successful while i try to login to other domain it get failed,

Is there any problem in my configuration of multiple host ??
Please help, I have changed my two servers but still no solution...

Plz advice.
Thanks & regards
anshu

--------------------------------------------------
see this social networking site http://www.click4mate.com

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: unable to login to other servers..
« Reply #1 on: October 28, 2007, 03:13:58 AM »
Are there and errors in your error log? Also what does you config look like?

Offline anshu

  • Newbie
  • *
  • Posts: 4
Re: unable to login to other servers..
« Reply #2 on: October 29, 2007, 04:15:42 AM »
Config file as follows
------------------------
Code: [Select]
<?php

$alx_config 
= array();


// system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
$alx_config['debug_level'] = 1;

// enable caching of messages and mailbox data in the local database.
// this is recommended if the IMAP server does not run on the same machine
$alx_config['enable_caching'] = TRUE;

// lifetime of message cache
// possible units: s, m, h, d, w
$alx_config['message_cache_lifetime'] = '10d';

// automatically create a new alexamail user when log-in the first time.
// a new user will be created once the IMAP login succeeds.
// set to false if only registered users can use this service
$alx_config['auto_create_user'] = TRUE;

// the mail host chosen to perform the log-in
// leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL connection, enter ssl://hostname:993
$alx_config['default_host'] = '';

// TCP port used for IMAP connections
$alx_config['default_port'] = '';

// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
$alx_config['username_domain'] = '';

// This domain will be used to form e-mail addresses of new users
// Specify an array with 'host' => 'domain' values to support multiple hosts
$alx_config['mail_domain'] = '';

// Path to a virtuser table file to resolve user names and e-mail addresses
$alx_config['virtuser_file'] = '';

// Query to resolve user names and e-mail addresses from the database
// %u will be replaced with the current username for login.
// The query should select the user's e-mail address as first col
$alx_config['virtuser_query'] = '';

// use this host for sending mails.
// to use SSL connection, set ssl://smtp.host.com
// if left blank, the PHP mail() function is used
$alx_config['smtp_server'] = '';

// SMTP port (default is 25; 465 for SSL)
$alx_config['smtp_port'] = '';

// SMTP username (if required) if you use %u as the username alexamail
// will use the current username for login
$alx_config['smtp_user'] = '';

// SMTP password (if required) if you use %p as the password alexamail
// will use the current user's password for login
$alx_config['smtp_pass'] = '';

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$alx_config['smtp_auth_type'] = '';

// Log sent messages
$alx_config['smtp_log'] = TRUE;

// these cols are shown in the message list
// available cols are: subject, from, to, cc, replyto, date, size, encoding
$alx_config['list_cols'] = array('subject''from''date''size');

// relative path to the skin folder
$alx_config['skin_path'] = 'skins/default/';

// use this folder to store temp files (must be writebale for apache user)
$alx_config['temp_dir'] = 'temp/';

// use this folder to store log files (must be writebale for apache user)
$alx_config['log_dir'] = 'logs/';

// session lifetime in minutes
$alx_config['session_lifetime'] = 10;

// check client IP in session athorization
$alx_config['ip_check'] = false;

// Use an additional frequently changing cookie to athenticate user sessions.
// There have been problems reported with this feature.
$alx_config['double_auth'] = false;

// this key is used to encrypt the users imap password which is stored
// in the session record (and the client cookie if remember password is enabled).
// please provide a string of exactly 24 chars.
$alx_config['des_key'] = 'roundcube-!24ByteDESkey*Str';

// the default locale setting
$alx_config['locale_string'] = 'en';

// use this format for short date display
$alx_config['date_short'] = 'D H:i';

// use this format for detailed date/time formatting
$alx_config['date_long'] = 'd.m.Y H:i';

// use this format for today's date display
$alx_config['date_today'] = 'H:i';

// add this user-agent to message headers when sending
$alx_config['useragent'] = 'roundcube/0.1-rc1';

// use this name to compose page titles
$alx_config['product_name'] = 'roundcube';

// only list folders within this path
$alx_config['imap_root'] = '';

// store draft message is this mailbox
// leave blank if draft messages should not be stored
$alx_config['drafts_mbox'] = 'Drafts';

// store spam messages in this mailbox
$alx_config['junk_mbox'] = 'Junk';

// store sent message is this mailbox
// leave blank if sent messages should not be stored
$alx_config['sent_mbox'] = 'Sent';

// move messages to this folder when deleting them
// leave blank if they should be deleted directly
$alx_config['trash_mbox'] = 'Trash';

// display these folders separately in the mailbox list.
// these folders will automatically be created if they do not exist
$alx_config['default_imap_folders'] = array('INBOX''Drafts''Sent''Junk''Trash');

// protect the default folders from renames, deletes, and subscription changes
$alx_config['protect_default_folders'] = TRUE;

// Set TRUE if deleted messages should not be displayed
// This will make the application run slower
$alx_config['skip_deleted'] = FALSE;

// Set true to Mark deleted messages as read as well as deleted
// False means that a message's read status is not affected by marking it as deleted
$alx_config['read_when_deleted'] = TRUE;

// When a Trash folder is not present and a message is deleted, flag 
// the message for deletion rather than deleting it immediately. Setting this to 
// false causes deleted messages to be permanantly removed if there is no Trash folder
$alx_config['flag_for_deletion'] = TRUE;

// Make use of the built-in spell checker. It is based on GoogieSpell.
$alx_config['enable_spellcheck'] = TRUE;

// For a locally installed Nox Spell Server, please specify the URI to call it.
// Get Nox Spell Server from [url]http://orangoo.com/labs/?page_id=72[/url]
// Leave empty to use the Google spell checking service, what means
// that the message content will be sent to Google in order to check spelling
$alx_config['spellcheck_uri'] = '';

// These languages can be selected for spell checking.
// Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch');
// Leave empty for default set of Google spell check languages
$alx_config['spellcheck_languages'] = NULL;

// path to a text file which will be added to each sent message
// paths are relative to the alexamail root folder
$alx_config['generic_message_footer'] = '';

// this string is used as a delimiter for message headers when sending
// leave empty for auto-detection
$alx_config['mail_header_delimiter'] = NULL;

// in order to enable public ldap search, create a config array
// like the Verisign example below. if you would like to test, 
// simply uncomment the Verisign example.
/** 
 * example config for Verisign directory
 *
 * $alx_config['ldap_public']['Verisign'] = array(
 * 'name'     => 'Verisign.com',
 * 'hosts'     => array('directory.verisign.com'),
 * 'port'     => 389,
 * 'base_dn'    => '',
 * 'bind_dn'    => '',
 * 'bind_pass'   => '',
 * 'search_fields' => array('mail', 'cn'), // fields to search in
 * 'name_field'  => 'cn',  // this field represents the contact's name
 * 'email_field'  => 'mail', // this field represents the contact's e-mail
 * 'scope'     => 'sub',  // search mode: sub|base|list
 * 'filter'    => '',   // will be &'d with search field ex: (status=act)
 * 'fuzzy_search' => true);  // server allows wildcard search
 */

// don't allow these settings to be overriden by the user
$alx_config['dont_override'] = array();

// list of configuration option names that need to be available in Javascript.
$alx_config['javascript_config'] = array('read_when_deleted''flag_for_deletion');

// try to load host-specific configuration
$alx_config['include_host_config'] = FALSE;


/***** these settings can be overwritten by user's preferences *****/

// show up to X items in list view
$alx_config['pagesize'] = 40;

// use this timezone to display date/time
$alx_config['timezone'] = 1;

// daylight savings are On
$alx_config['dst_active'] = TRUE;

// prefer displaying HTML messages
$alx_config['prefer_html'] = TRUE;

// show pretty dates as standard
$alx_config['prettydate'] = TRUE;

// default sort col
$alx_config['message_sort_col'] = 'date';

// default sort order
$alx_config['message_sort_order'] = 'DESC';

// save compose message every 300 seconds (5min)
$alx_config['draft_autosave'] = 300;

// end of config file
?>



Log file as follows
-----------------------
Code: [Select]
[16-Oct-2007 08:36:08 -0500] IMAP Error: Authentication for [email]anshu@multiplesystem.com[/email] failed (LOGIN): "a001 NO Login failed." in on line 0
[16-Oct-2007 08:37:19 -0500] IMAP Error: Could not connect to mail.multiplesystem.net at port 143: Connection timed out in on line 0
[16-Oct-2007 08:54:29 -0500] IMAP Error: Could not connect to mail.multiplesystem.net at port 143: Connection timed out in on line 0
[16-Oct-2007 09:08:36 -0500] IMAP Error: Could not connect to mail.multiplesystem.net at port 143: Connection timed out in on line 0
[16-Oct-2007 09:47:39 -0500] IMAP Error: Invalid host
 in on line 0
[16-Oct-2007 09:48:10 -0500] IMAP Error: Could not connect to mail.multiplesystem.net at port 143: Connection timed out in on line 0
[16-Oct-2007 13:00:46 -0500] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[16-Oct-2007 13:01:48 -0500] IMAP Error: Could not connect to mail.multiplesystem.net at port 143: Connection timed out in on line 0
[17-Oct-2007 05:54:08 -0500] IMAP Error: Authentication for [email]anshu@multiplesystem.com[/email] failed (LOGIN): "a001 NO Login failed." in on line 0
[18-Oct-2007 14:18:19 -0500] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[18-Oct-2007 14:19:03 -0500] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[18-Oct-2007 14:24:02 -0500] IMAP Error: Authentication for [email]vikram@9to9solutions.com[/email] failed (LOGIN): "a001 NO Login failed." in on line 0
[18-Oct-2007 14:24:22 -0500] IMAP Error: Authentication for [email]vikram@9to9solutions.com[/email] failed (LOGIN): "a001 NO Login failed." in on line 0
[22-Oct-2007 13:07:34 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[22-Oct-2007 13:11:38 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[22-Oct-2007 13:34:50 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[22-Oct-2007 13:37:05 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[22-Oct-2007 16:26:39 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[22-Oct-2007 20:07:37 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[23-Oct-2007 04:21:07 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[23-Oct-2007 16:44:31 -0400] DB Error: DB Error: connect failed in /home/academic/public_html/alexamail/program/include/alx_db.inc on line 105
[23-Oct-2007 17:17:10 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0
[23-Oct-2007 17:17:43 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0
[23-Oct-2007 17:39:44 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0
[24-Oct-2007 08:26:32 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[24-Oct-2007 08:26:58 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[24-Oct-2007 08:27:46 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0
[24-Oct-2007 08:28:19 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[24-Oct-2007 08:28:45 -0400] IMAP Error: Authentication for [email]vikram@multiplesystem.net[/email] failed (LOGIN): "a001 NO Login failed." in on line 0
[24-Oct-2007 08:29:14 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[24-Oct-2007 13:43:51 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[24-Oct-2007 13:46:04 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[25-Oct-2007 12:41:07 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0
[25-Oct-2007 18:31:24 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[25-Oct-2007 18:34:36 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[26-Oct-2007 12:25:12 -0400] IMAP Error: Could not connect to mail.a1internetdesign.com at port 143: Connection timed out in on line 0
[28-Oct-2007 15:05:01 -0400] IMAP Error: Authentication for [email]vikramj@multiplesystem.net[/email] failed (LOGIN): "a001 NO Login failed." in on line 0
[28-Oct-2007 15:07:14 -0400] IMAP Error: Invalid host
 in on line 0
[28-Oct-2007 15:07:26 -0400] IMAP Error: Invalid host
 in on line 0


---------------------------------------------------------------------
visit & join click4mate community - http://www.click4mate.com

Offline anshu

  • Newbie
  • *
  • Posts: 4
Re: unable to login to other servers..
« Reply #3 on: October 29, 2007, 11:42:33 PM »
More error Logs
-----------------------
Code: [Select]
[29-Oct-2007 23:32:42 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0
[29-Oct-2007 23:34:25 -0400] IMAP Error: Could not connect to mail.9to9solutions.com at port 143: Connection timed out in on line 0

??? :'(

--
Get cheap domain & hosting http://hosting.multiplesystem.net , join free dating site http://www.click4mate.com , chandigarh community

Offline observer

  • Newbie
  • *
  • Posts: 3
Re: unable to login to other servers..
« Reply #4 on: November 03, 2007, 09:04:30 AM »
I am having the same issue here:

I just updated from rc1 to rc2 and now I can't login anymore.

Configuration and user crudentials remain the same.

Logfile looks like this:

Quote
[03-Nov-2007 13:21:59 +0100] IMAP Error: Invalid password
 in on line 0
[03-Nov-2007 13:22:05 +0100] IMAP Error: Invalid password
 in on line 0
[03-Nov-2007 13:23:32 +0100] IMAP Error: Invalid password
 in on line 0
[03-Nov-2007 13:23:50 +0100] IMAP Error: Invalid password
 in on line 0

Offline anshu

  • Newbie
  • *
  • Posts: 4
Re: unable to login to other servers..
« Reply #5 on: November 05, 2007, 08:53:06 AM »
You wanna say earlier you were able to login to any other domain but after updating the roundcube package , you got the problem of password authentication.

I didn't get the problem of authentication, but request time out.
I don't know what exactly happening in the script.

.........:(
anshu

--
find your friends at chandigarh community http://www.click4mate.com

Offline s5n

  • Newbie
  • *
  • Posts: 7
Re: unable to login to other servers..
« Reply #6 on: November 13, 2007, 07:13:28 AM »
Try to set register_globals = off. That was the reason on my server.

Cheers s5n