+ Reply to Thread
Results 1 to 4 of 4

Thread: IMAP Error: Could not connect to XXX.XXX.XXX.XXX at port 143: Connection timed out

  1. #1
    sam121212 is offline Registered User
    Join Date
    Sep 2008
    Posts
    11
    Downloads
    5
    Uploads
    0

    Default IMAP Error: Could not connect to XXX.XXX.XXX.XXX at port 143: Connection timed out

    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


    on my webserver i am getting 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 XXX.XXX.XXX.XXX at port 143: Connection timed out


    while on my local server i am getting following error

    IMAP Error: Authentication for predator@bwwindia.com failed (LOGIN): "a001 NO Login failed: authentication failure"

    Warning: Cannot modify header information - headers already sent in C:\wamp\www\final_webmail\program\include\rcmail.p hp on line 756






    same script is working fine for other servers. i ve tried 3 more servers. working 100% fine



    info PHP5


    Main Config attached


    ANY HELP
    Attached Files

  2. #2
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,394
    Downloads
    36
    Uploads
    0

    Default

    #1-Are you able to telnet into your IMAP host? Telnet 203.197.32.138 143
    #2-Try to use the host FQDN instead of the IP

    May be port 143 is blocked on 203.197.32.138?

  3. #3
    sam121212 is offline Registered User
    Join Date
    Sep 2008
    Posts
    11
    Downloads
    5
    Uploads
    0

    Default

    telnet is working fine

  4. #4
    sam121212 is offline Registered User
    Join Date
    Sep 2008
    Posts
    11
    Downloads
    5
    Uploads
    0

    Default Main Issue

    Quote Originally Posted by rosali View Post
    #1-Are you able to telnet into your IMAP host? Telnet 203.197.32.138 143
    #2-Try to use the host FQDN instead of the IP

    May be port 143 is blocked on 203.197.32.138?
    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 aaa@abc.com aaas@acd.com aas@ask.com



    2-Thing is IMAP server validate predator instead of predator@abc.com

    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 BWWI Mail :: Welcome to BWWI Mail 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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts