Results 1 to 5 of 5

Thread: Inbound Mail Setup - Connection Timed Out

  1. #1
    Epoch18 is offline Member
    Join Date
    May 2011
    Posts
    8

    Default Inbound Mail Setup - Connection Timed Out

    Using Angel's wonderful test script, I can determine that this is NOT a Sugar issue. However, I still need assistance. I've been scouring these forums for about 7 hours today, and 4 hours yesterday, and have yet to yield any results at all. I have found dozens of posts with people posting the same or similar questions, but non of them have been resolved (or at least they never respond to say that they were). But, moving on...

    Angel's script yields:
    Code:
    Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/ssl}INBOX in /home1/brianqu1/public_html/_sugarcrm/test_imap.php on line 16
    Could not connect: Can't connect to gmail-imap.l.google.com,993: Connection timed out
    My host is Blue Host (www.bluehost.com). Here is my phpinfo() (personal data has been masked):
    phpinfo()

    I have a feeling that it is a PHP config issue. In my searchings, I came across a post (and lost it shortly after) that ended in the original poster saying that he had solved his problem, with information gained from the following link:
    Recommended_PHP_Configuration

    However that link is no longer valid. He said he was missing some php settings, but he did not post what they were. I looked all over, but I can't find any page that shows "Recommended PHP Configurations".

    Oh, and I DID get my outbound email working just fine, if that helps any.

    I'm stuck now. Please help. Thanks guys.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound Mail Setup - Connection Timed Out

    You might want to ask your provider if they block any ports. Also ask them to try it via ssh (or preferably, give you ssh access).

    PS: Thanks for the compliment on my work.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    Epoch18 is offline Member
    Join Date
    May 2011
    Posts
    8

    Default Re: Inbound Mail Setup - Connection Timed Out

    I have SSH access. How do I check?

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound Mail Setup - Connection Timed Out

    Try to telnet to that port and server using:

    telnet imap.gmail.com 993

    You won't be able to authenticate, but it seems like your failure is before that anyway. This would at least tell us if you provider is allowing connections to that port.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    Epoch18 is offline Member
    Join Date
    May 2011
    Posts
    8

    Default Re: Inbound Mail Setup - Connection Timed Out

    SOLVED

    Thanks for the help! My problem was actually related to my web host, which is odd because I almost never have any issues with them. They're great. Anyway, seems that some ports and protocols were being blocked on my account by accident. When I first called and asked, I was told, "no those aren't blocked" which is true. Generally they are not. However, a couple of years ago I intentionally let my accounts lapse for a couple of months, but then resubscribed soon after. When my account was reactivated, some things were left inactive. Anyway, got it all enabled and now the emails work great.

    Thanks again!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Inbound email problem, Connection timed out, invalid remote specification
    By regularfry in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2010-05-05, 06:03 PM
  2. Inbound e-mail setup problem
    By admetus2 in forum Help
    Replies: 0
    Last Post: 2008-07-26, 01:29 PM
  3. Replies: 1
    Last Post: 2008-04-28, 06:20 PM
  4. Replies: 3
    Last Post: 2008-03-14, 07:17 AM
  5. Replies: 5
    Last Post: 2006-07-20, 04:44 AM

Bookmarks

Posting Permissions

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