AnsweredAssumed Answered

Inbound Email doesn't work when selecting SSL Port 993 (Enterprise Version 6.5.4)

Question asked by Amy Cox on Oct 1, 2014
When I try to access email server without SSL on port 143, it works fine (Connection completed successfully). 
The problem comes when I click SSL check box in the 'Inbound Email' and test again.  It says it times out and the following Debug information is logged (Connection failed to owa.____.___,993: Connection timed out  Please check your settings and try again.).

The email server end (owa.____.___) it showing activity coming in when SugarCRM is trying to login on port 993.

Here are the errors I am getting.  Note: put _ in place of the full server address.

Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] ---------------STARTING FINDOPTIMUMS LOOP----------------
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 1: I-E testing string: {owa.___.___:993/service=imap/ssl/tls/validate-cert/secure}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 1: I-E failed using [{owa.___.___:993/service=imap/ssl/tls/validate-cert/secure}INBOX] - error: Can't open mailbox {owa.___.___:993/service=imap/ssl/tls/validate-cert/secure}INBOX: invalid remote specification
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 1: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 2: I-E testing string: {owa.___.___:993/service=imap/ssl/tls/validate-cert}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 2: I-E failed using [{owa.___.___:993/service=imap/ssl/tls/validate-cert}INBOX] - error: Can't open mailbox {owa.___.___:993/service=imap/ssl/tls/validate-cert}INBOX: invalid remote specification
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 2: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 3: I-E testing string: {owa.___.___:993/service=imap/ssl/validate-cert/secure}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 3: I-E failed using [{owa.___.___:993/service=imap/ssl/validate-cert/secure}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for newowa.___.___
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 3: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 4: I-E testing string: {owa.___.___:993/service=imap/ssl/validate-cert}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 4: I-E failed using [{owa.___.___:993/service=imap/ssl/validate-cert}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for owa.___.___
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 4: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 5: I-E testing string: {owa.___.___:993/service=imap/ssl/tls/secure}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 5: I-E failed using [{owa.___.___:993/service=imap/ssl/tls/secure}INBOX] - error: Can't open mailbox {owa.___.___:993/service=imap/ssl/tls/secure}INBOX: invalid remote specification
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 5: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 6: I-E testing string: {owa.___.___:993/service=imap/ssl/tls}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 6: I-E failed using [{owa.___.___:993/service=imap/ssl/tls}INBOX] - error: Can't open mailbox {owa.___.___:993/service=imap/ssl/tls}INBOX: invalid remote specification
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 6: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 7: I-E testing string: {owa.___.___:993/service=imap/ssl/notls/novalidate-cert/secure}INBOX
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 7: I-E failed using [{owa.___.___:993/service=imap/ssl/notls/novalidate-cert/secure}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for newowa.___.___
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 7: I-E clearing error and alert stacks.
Wed Sep 24 11:24:08 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 8: I-E testing string: {owa.___.___:993/service=imap/ssl/notls/novalidate-cert}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 8: I-E failed using [{owa.___.___:993/service=imap/ssl/notls/novalidate-cert}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for owa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 8: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 9: I-E testing string: {owa.___.___:993/service=imap/ssl/novalidate-cert/secure}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 9: I-E failed using [{owa.___.___:993/service=imap/ssl/novalidate-cert/secure}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for newowa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 9: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 10: I-E testing string: {owa.___.___:993/service=imap/ssl/novalidate-cert}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 10: I-E failed using [{owa.___.___:993/service=imap/ssl/novalidate-cert}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for owa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 10: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 11: I-E testing string: {owa.___.___:993/service=imap/ssl/notls/secure}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 11: I-E failed using [{owa.___.___:993/service=imap/ssl/notls/secure}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for newowa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 11: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 12: I-E testing string: {owa.___.___:993/service=imap/ssl/notls}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 12: I-E failed using [{owa.___.___:993/service=imap/ssl/notls}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for owa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 12: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 13: I-E testing string: {owa.___.___:993/service=imap/ssl/secure}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 13: I-E failed using [{owa.___.___:993/service=imap/ssl/secure}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for newowa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 13: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 14: I-E testing string: {owa.___.___:993/service=imap/ssl}INBOX
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 14: I-E failed using [{owa.___.___:993/service=imap/ssl}INBOX] - error: Kerberos error: Credentials cache file '/tmp/krb5cc_33' not found (try running kinit) for owa.___.___
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] 14: I-E clearing error and alert stacks.
Wed Sep 24 11:24:09 2014 [4628][2a366f61-9a43-73c6-66a8-5242f99ffd7c][DEBUG] ---------------end FINDOPTIMUMS LOOP----------------

Outcomes