Clarity Service Management

Expand all | Collapse all

Mail eater error with STARTTLS office365

Jump to Best Answer
  • 1.  Mail eater error with STARTTLS office365

    Posted 06-06-2018 05:46 AM

    Hello,

     

    I tried to configure the mail eater like is described on the following document:

    Connecting Maileater to Office 365 Mail - CA Service Management - 17.1 - CA Technologies Documentation 

     

    Unfortunately I'm getting the following error messages:

     

    ERROR [ForkJoinPool-1-worker-0] c.c.S.m.c.JavaMailIMAPClient - Failed to make connection with STARTTLS to server outlook.com, port 143, trying SSL connection

     

    ERROR [ForkJoinPool-1-worker-0] c.c.S.m.c.JavaMailIMAPClient - Failed to connect to the Store.

     

    Bellow is the configuration:

     

    Can anyone help me to understand what is wrong? What can I do to solve this?

     

    Thank you in advance



  • 2.  Re: Mail eater error with STARTTLS office365

    Posted 06-06-2018 09:57 AM

    For the User Name field, are you using the full email address of your Office365 account, or just the username portion?

     

    Can you confirm if port 143 is open through your firewall / traffic filtering? I've seen similar errors when port 143 was blocked, preventing a connection to the O365 servers.



  • 3.  Re: Mail eater error with STARTTLS office365

    Posted 06-06-2018 10:01 AM

    Hi,

     

    I'm using the full email address and the port is open.



  • 4.  Re: Mail eater error with STARTTLS office365

    Posted 06-06-2018 11:16 AM

    what if you change the certificate path from

    D:/certificates/O365Cert.cert

    to

    D:\certificates\O365Cert.cert

    ?



  • 5.  Re: Mail eater error with STARTTLS office365

    Posted 06-06-2018 03:34 PM

    Hi,

     

    Already tried that but didn't work.

    I've also noticed another error in the logs

     

    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: No issuer certificate for certificate in certification path found.



  • 6.  Re: Mail eater error with STARTTLS office365

    Posted 06-06-2018 04:09 PM

    on which server you have

    D:\certificates\O365Cert.cert

    ?



  • 7.  Re: Mail eater error with STARTTLS office365

    Posted 06-07-2018 01:29 PM

    I only have one server.

    And the SDM installation is on D: disk

    I also tried the path with // and \\, still got the same error message.

    In the firewall, I've also opened the 993 port.

     

    Should I change the certificate to another folder?

    What do you suggest?



  • 8.  Re: Mail eater error with STARTTLS office365

    Posted 06-07-2018 02:12 PM

    So I assume this file is on the SDM server

    Did you recycle pdm_maileater_nxd?

    If all yes, then I would recommend open a Support case. The message says there is no certificate.



  • 9.  Re: Mail eater error with STARTTLS office365

    Posted 06-08-2018 07:05 AM

    Hi,

     

    I will do that.

    Thanks a lot for your help.

     

    Regards



  • 10.  Re: Mail eater error with STARTTLS office365
    Best Answer

    Posted 06-08-2018 07:08 AM

    The way to write the certificate path is

    C:/certificates/O365Cert.cer

     



  • 11.  RE: Re: Mail eater error with STARTTLS office365

    Posted 10-22-2019 02:01 AM
    Hi,

    Did you manage to resolve the issue, if so what was the resolution.

    Regards,
    Yogan