Results 1 to 8 of 8

Thread: email account setup, sugarcrm 5e: Connection failed

  1. #1
    dxjeremy is offline Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Default email account setup, sugarcrm 5e: Connection failed

    I have a new setup of SugarCRM 5.0.0e Community on Solaris 5.10 (sparc) and when I try setting up a mail account and click Test Settings, I get the message:

    Connection failed to mail.myserver.com,993: Connection timed out

    Please check your settings and try again.

    I know all the settings are right, I can telnet to the mail server and am also using a mail client with the same settings. Here is the sugarcrm.log debug entry:

    Tue Jun 10 14:32:02 2008,254 [2079] DEBUG SugarCRM - ---------------STARTING FINDOPTIMUMS LOOP----------------
    Tue Jun 10 14:32:02 2008,255 [2079] DEBUG SugarCRM - 1: I-E testing string: {mail.myserver.com:993/service=imap/ssl/tls/validate-cert/secure}INBOX
    Tue Jun 10 14:32:02 2008,256 [2079] DEBUG SugarCRM - 1: I-E failed using [{mail.myserver.com:993/service=imap/ssl/tls/validate-cert/secure}INBOX] - error: Can't open mailbox {mail.myserver.com:993/service=imap/ssl/tls/validate-cert/secure}INBOX: invalid remote specification
    Tue Jun 10 14:32:02 2008,256 [2079] DEBUG SugarCRM - 1: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:02 2008,257 [2079] DEBUG SugarCRM - 2: I-E testing string: {mail.myserver.com:993/service=imap/ssl/tls/validate-cert}INBOX
    Tue Jun 10 14:32:02 2008,257 [2079] DEBUG SugarCRM - 2: I-E failed using [{mail.myserver.com:993/service=imap/ssl/tls/validate-cert}INBOX] - error: Can't open mailbox {mail.myserver.com:993/service=imap/ssl/tls/validate-cert}INBOX: invalid remote specification
    Tue Jun 10 14:32:02 2008,258 [2079] DEBUG SugarCRM - 2: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:02 2008,258 [2079] DEBUG SugarCRM - 3: I-E testing string: {mail.myserver.com:993/service=imap/ssl/validate-cert/secure}INBOX
    Tue Jun 10 14:32:02 2008,676 [2079] DEBUG SugarCRM - 3: I-E failed using [{mail.myserver.com:993/service=imap/ssl/validate-cert/secure}INBOX] - error: Certificate failure for mail.myserver.com: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=(root)@localhost.localdomain
    Tue Jun 10 14:32:02 2008,676 [2079] DEBUG SugarCRM - 3: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:02 2008,677 [2079] DEBUG SugarCRM - 4: I-E testing string: {mail.myserver.com:993/service=imap/ssl/validate-cert}INBOX
    Tue Jun 10 14:32:02 2008,843 [2079] DEBUG SugarCRM - 4: I-E failed using [{mail.myserver.com:993/service=imap/ssl/validate-cert}INBOX] - error: Certificate failure for mail.myserver.com: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=(root)@localhost.localdomain
    Tue Jun 10 14:32:02 2008,843 [2079] DEBUG SugarCRM - 4: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:02 2008,844 [2079] DEBUG SugarCRM - 5: I-E testing string: {mail.myserver.com:993/service=imap/ssl/tls/secure}INBOX
    Tue Jun 10 14:32:02 2008,844 [2079] DEBUG SugarCRM - 5: I-E failed using [{mail.myserver.com:993/service=imap/ssl/tls/secure}INBOX] - error: Can't open mailbox {mail.myserver.com:993/service=imap/ssl/tls/secure}INBOX: invalid remote specification
    Tue Jun 10 14:32:02 2008,845 [2079] DEBUG SugarCRM - 5: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:02 2008,845 [2079] DEBUG SugarCRM - 6: I-E testing string: {mail.myserver.com:993/service=imap/ssl/tls}INBOX
    Tue Jun 10 14:32:02 2008,846 [2079] DEBUG SugarCRM - 6: I-E failed using [{mail.myserver.com:993/service=imap/ssl/tls}INBOX] - error: Can't open mailbox {mail.myserver.com:993/service=imap/ssl/tls}INBOX: invalid remote specification
    Tue Jun 10 14:32:02 2008,846 [2079] DEBUG SugarCRM - 6: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:02 2008,847 [2079] DEBUG SugarCRM - 7: I-E testing string: {mail.myserver.com:993/service=imap/ssl/notls/novalidate-cert/secure}INBOX
    Tue Jun 10 14:32:03 2008,154 [2079] DEBUG SugarCRM - 7: I-E failed using [{mail.myserver.com:993/service=imap/ssl/notls/novalidate-cert/secure}INBOX] - error: TLS/SSL failure for mail.myserver.com: SSL negotiation failed
    Tue Jun 10 14:32:03 2008,154 [2079] DEBUG SugarCRM - 7: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:03 2008,155 [2079] DEBUG SugarCRM - 8: I-E testing string: {mail.myserver.com:993/service=imap/ssl/notls/novalidate-cert}INBOX
    Tue Jun 10 14:32:03 2008,454 [2079] DEBUG SugarCRM - 8: I-E failed using [{mail.myserver.com:993/service=imap/ssl/notls/novalidate-cert}INBOX] - error: TLS/SSL failure for mail.myserver.com: SSL negotiation failed
    Tue Jun 10 14:32:03 2008,455 [2079] DEBUG SugarCRM - 8: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:03 2008,456 [2079] DEBUG SugarCRM - 9: I-E testing string: {mail.myserver.com:993/service=imap/ssl/novalidate-cert/secure}INBOX
    Tue Jun 10 14:32:03 2008,762 [2079] DEBUG SugarCRM - 9: I-E failed using [{mail.myserver.com:993/service=imap/ssl/novalidate-cert/secure}INBOX] - error: TLS/SSL failure for mail.myserver.com: SSL negotiation failed
    Tue Jun 10 14:32:03 2008,763 [2079] DEBUG SugarCRM - 9: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:03 2008,763 [2079] DEBUG SugarCRM - 10: I-E testing string: {mail.myserver.com:993/service=imap/ssl/novalidate-cert}INBOX
    Tue Jun 10 14:32:04 2008,028 [2079] DEBUG SugarCRM - 10: I-E failed using [{mail.myserver.com:993/service=imap/ssl/novalidate-cert}INBOX] - error: TLS/SSL failure for mail.myserver.com: SSL negotiation failed
    Tue Jun 10 14:32:04 2008,028 [2079] DEBUG SugarCRM - 10: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:04 2008,029 [2079] DEBUG SugarCRM - 11: I-E testing string: {mail.myserver.com:993/service=imap/ssl/notls/secure}INBOX
    Tue Jun 10 14:32:04 2008,169 [2079] DEBUG SugarCRM - 11: I-E failed using [{mail.myserver.com:993/service=imap/ssl/notls/secure}INBOX] - error: Certificate failure for mail.myserver.com: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=(root)@localhost.localdomain
    Tue Jun 10 14:32:04 2008,170 [2079] DEBUG SugarCRM - 11: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:04 2008,170 [2079] DEBUG SugarCRM - 12: I-E testing string: {mail.myserver.com:993/service=imap/ssl/notls}INBOX
    Tue Jun 10 14:32:04 2008,314 [2079] DEBUG SugarCRM - 12: I-E failed using [{mail.myserver.com:993/service=imap/ssl/notls}INBOX] - error: Certificate failure for mail.myserver.com: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=(root)@localhost.localdomain
    Tue Jun 10 14:32:04 2008,314 [2079] DEBUG SugarCRM - 12: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:04 2008,315 [2079] DEBUG SugarCRM - 13: I-E testing string: {mail.myserver.com:993/service=imap/ssl/secure}INBOX
    Tue Jun 10 14:32:04 2008,460 [2079] DEBUG SugarCRM - 13: I-E failed using [{mail.myserver.com:993/service=imap/ssl/secure}INBOX] - error: Certificate failure for mail.myserver.com: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=(root)@localhost.localdomain
    Tue Jun 10 14:32:04 2008,462 [2079] DEBUG SugarCRM - 13: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:04 2008,462 [2079] DEBUG SugarCRM - 14: I-E testing string: {mail.myserver.com:993/service=imap/ssl}INBOX
    Tue Jun 10 14:32:04 2008,630 [2079] DEBUG SugarCRM - 14: I-E failed using [{mail.myserver.com:993/service=imap/ssl}INBOX] - error: Certificate failure for mail.myserver.com: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=(root)@localhost.localdomain
    Tue Jun 10 14:32:04 2008,631 [2079] DEBUG SugarCRM - 14: I-E clearing error and alert stacks.
    Tue Jun 10 14:32:04 2008,631 [2079] DEBUG SugarCRM - ---------------end FINDOPTIMUMS LOOP----------------


    I installed SugarCRM with the FastStack Solaris Sparc Installer 5.0.0e, so I'm sure all the php settings are correct.

    What's installed is: php 5.2.5, apache 2.0.59, mysql 5.0.37

    This is what php is compiled with:

    './configure' '--prefix=/bitrock/sugarcrm2/build/output/php' '--with-apxs2=/bitrock/sugarcrm2/build/output/apache2/bin/apxs' '--with-iconv=/bitrock/sugarcrm2/build/output/common' '--with-iconv-dir=/bitrock/sugarcrm2/build/output/common' '--with-dom=/bitrock/sugarcrm2/build/output/common' '--with-mysql=/bitrock/sugarcrm2/build/output/mysql' '--with-expat=/bitrock/sugarcrm2/build/output/common' '--with-png-dir=/bitrock/sugarcrm2/build/output/common' '--with-gd=/bitrock/sugarcrm2/build/output/common' '--with-zlib' '--enable-mbstring=all' '--with-curl=/bitrock/sugarcrm2/build/output/common' '--with-jpeg-dir=/bitrock/sugarcrm2/build/output/common' '--with-expat-dir=/bitrock/sugarcrm2/build/output/common' '--with-xmlrpc' '--with-openssl=/bitrock/sugarcrm2/build/output/common' '--with-imap=/bitrock/sugarcrm2/build/src/imap-2006g' '--with-imap-ssl=/bitrock/sugarcrm2/build/output/common' '--with-libxml-dir=/bitrock/sugarcrm2/build/output/common'

    Thanks!

    Jeremy

  2. #2
    openstream is offline Junior Member
    Join Date
    Nov 2006
    Posts
    2

    Default Re: email account setup, sugarcrm 5e: Connection failed

    I'm getting a similar error message. The test feature can connect to the mail server, but it complains about the certificate.

    It seems that SugarCRM simply won't work with self-signed certificates assuming that they are less secure, which of course is not the case. Maybe there's a configuration setting that will disable this sort of check, but I'm not sure.
    Last edited by openstream; 2008-07-16 at 03:07 PM.

  3. #3
    ktell is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    33

    Default Re: email account setup, sugarcrm 5e: Connection failed

    After many hours over weeks of trying to locate solutions for personal IU Mail in 5.0.0e and 5.1.0 I have concluded that this feature is not stable. I have sought input from numerous posts on this forum and none have solved the problem of a personal email setup in IU Email setup of not being able to open emails. The emails download fine but when they are opened only reveals subject of "message removed from server". In fact the message has not been removed from server. This is a flaw in 5.0.0e and 5.1.0 that I have evaluated. I regressed to version 4.5.1 and all works fine. I am writing this to assist others should they be struggling with same issue so that they may not waist the many hours that I have to discover that versions 5.0.0e and 5.1.0 are not usable for personal emails.

  4. #4
    emilk is offline Member
    Join Date
    Jun 2008
    Location
    Sweden
    Posts
    7

    Default Re: email account setup, sugarcrm 5e: Connection failed

    I have exactly the sam problem but with Sugar 5.1.0a and Exchange 2007, has anyone found a solution for this problem yet?

  5. #5
    nvdp2002 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    134

    Default Re: email account setup, sugarcrm 5e: Connection failed

    Hi Ive gone through a few other threads outside of sugar. The one problem was a bug with php but that was sorted in php 5.2 the other problem was that you sugar hosting server may be blocking connections on port 995 for secure ssl. Let me know if you get sorted. because i have the same problem. just dont have time to fix it today

  6. #6
    andybillington is offline Junior Member
    Join Date
    May 2009
    Posts
    1

    Default Re: email account setup, sugarcrm 5e: Connection failed

    been playing with this problem this afternoon, and appear to have solved it - well, at least, the "Test" worked. I resigned the cert on Courier with my own hostname instead of localhost as the CN, and it was still failing. Then .. i looked at the mail server and realised one feature of Courier - you can't connect to an empty mailbox.Sent an email to the mailbox I was testing from a different account, reset Sugar to make sure it was using SSL, and it started working.

    HTH someone.

  7. #7
    sugarFLO is offline Sugar Community Member
    Join Date
    Jun 2009
    Posts
    45

    Default Re: email account setup, sugarcrm 5e: Connection failed

    I ran into the same problem.

    I assume, the missing --with-imap-ssl module is the problem (on my server php is compiled with imap non-ssl only).

    To establish a non-SSL connection I was required to apply the hack mentioned in this thread: http://www.sugarcrm.com/forums/showthread.php?t=24510

    Is there any chance this gets fixed in a future version?
    I heard it was also possible to connect through SSL withtout having the '--with-imap-ssl' module compiled... Does anyon have information on that?

  8. #8
    Hardwares Guest

    Default Re: email account setup, sugarcrm 5e: Connection failed

    I am also facing same kind of problem but now i feel better to get solution of my problem, Thanks for sharing it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Seeking SugarCRM Deverlopers
    By maxsutter in forum Developer Help
    Replies: 7
    Last Post: 2009-01-03, 02:13 PM
  2. email marketing feature requests
    By maxsutter in forum Feature Requests
    Replies: 1
    Last Post: 2008-10-11, 10:19 AM
  3. Quick Create not working in Contacts popup
    By pniranjan in forum Developer Help
    Replies: 1
    Last Post: 2007-04-26, 01:10 PM
  4. Replies: 11
    Last Post: 2006-10-26, 01:13 PM

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
  •