Roundcube Community Forum

 

Test IMAP config

Started by mangiok, January 14, 2009, 02:31:31 PM

Previous topic - Next topic

mangiok

I am new to this and would like a little guide
I am using godaddy for hosting

On the check login section (Test IMAP configuration)

Do I use the username and password I used to install RoundCube?

Server: website.com/roundcube   
Port    143
Username: [email protected]
Password: password

?

mangiok

This is what I get

Connecting to localhost...

Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (No route to host) in /home/content/p/i/r/pirnomadev/html/wmail/program/lib/imap.inc on line 545
IMAP connect:  NOT OK(Could not connect to localhost at port 143: No route to host)

sam121212

i have a mail server(A). and one remote server (B). i installed roundcube on server (B) to Access Mails FROM server (A).

everything is perfect i double checked everything like config etc.

it ishows following error
   



Warning: fsockopen() [function.fsockopen]: unable to connect to 203.197.32.138:143 (Connection timed out) in /home/turiaic/public_html/www/bwwmail/program/lib/imap.inc on line 545
IMAP Error: Could not connect to 203.197.32.138 at port 143: Connection timed out

JohnDoh

Mangiok: The Server should be your imap server, not the URL of your roundcube install and the username and password for your imap server as well.

sam121212: can you telnet from ServerB to Server A. may be there is a firewall or something in the way.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

sam121212

we closed fireball of  both server a and server b nottong happen. on my system telnet is working fine

sam121212

Quote from: JohnDoh;16380Mangiok: The Server should be your imap server, not the URL of your roundcube install and the username and password for your imap server as well.

sam121212: can you telnet from ServerB to Server A. may be there is a firewall or something in the way.

we closed fireball of  both server a and server b nottong happen. on my system telnet is working fine

issue
1-Remote server have 1 mother domain and 5 child domain like [email protected] [email protected] [email protected]



2-Thing is IMAP server validate predator instead of [email protected]

on Installer http://turiainc.com/www/bwwmail/_installer

if i check IMAP configuration
with following data
username predator
password 123456
its working perfect


but at http://turiainc.com/www/bwwmail its not working

if i modify programe/include/rcmail.php

line no
427
 if (!empty($config['username_domain']) && !strpos($username, '@')) {
      if (is_array($config['username_domain']) && isset($config['username_domain'][$host]))
        $username .= '@'.$config['username_domain'][$host];
      else if (is_string($config['username_domain']))
    ?????   $username .= '@'.$config['username_domain'];
 
    }

    // try to resolve email address from virtuser table    
    if (!empty($config['virtuser_file']) && strpos($username, '@'))
      $username = rcube_user::email2user($username);

    // lowercase username if it's an e-mail address (#1484473)
    if (strpos($username, '@'))
      $username = strtolower($username);

    // user already registered -> overwrite username
    if ($user = rcube_user::query($username, $host))
      $username = $user->data['username'];

Then i am getting error (Page Not found)

i hope you will sort out my problem
regards
sam