Genesys Engage on-premises

 View Only
Discussion Thread View
  • 1.  Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-17-2021 09:26
    Hi Team,

    I'm trying to migrate EmailServer grom exchange 2016 to Office 365, already change server, ports, certs, but in my logs keep receiving error below:

    10:16:16.547 Std 20015 [MsgIn-1] <pop-client-teste> JavaMail Exception.
    javax.mail.MessagingException: Connection dropped by server?;
    nested exception is:
    java.io.IOException: Connection dropped by server?
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:737)
    at javax.mail.Service.connect(Service.java:366)
    at com.genesyslab.icc.emailserver.MailDeliveryAgentImpl.openConnection(MailDeliveryAgentImpl.java:289)
    at com.genesyslab.icc.emailserver.InboundMessagingClient$SessionRunLoop.retrieveMessages(InboundMessagingClient.java:1142)
    at com.genesyslab.icc.emailserver.InboundMessagingClient$SessionRunLoop.run(InboundMessagingClient.java:1010)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at com.genesyslab.util.concurrent16.NamedThreadFactory$1.run(NamedThreadFactory.java:55)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: Connection dropped by server?
    at com.sun.mail.iap.ResponseInputStream.readResponse(ResponseInputStream.java:119)
    at com.sun.mail.iap.Response.<init>(Response.java:131)
    at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:60)
    at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:407)
    at com.sun.mail.iap.Protocol.<init>(Protocol.java:131)
    at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:128)
    at com.sun.mail.imap.IMAPStore.newIMAPProtocol(IMAPStore.java:758)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:693)
    ... 8 more

    In my researches it seem to relate to certificate, but it was generated as in documentation.
    #Implementation

    ------------------------------
    Debora Lopes
    Wittel Comunicacoes Ltda
    ------------------------------


  • 2.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-18-2021 23:30
    Hi Debora,

    Could you share the configurations you did for the pop client section (WITHOUT SHARING ANY CREDENTIALS) just to validate the configurations that Microsoft offers for Office 365 Outlook? https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4ac95353

    Also, do you have the capability to check logs from Office 365 Outlook?

    I guess you don't need to configure a certificate because Office 365 is working with a CA-signed certificate so it should be secured by default (Opinion)


  • 3.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-20-2021 09:38
    Also, what version of ESJ, and what version of Java?

    ------------------------------
    Tony Morrow
    ------------------------------



  • 4.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-24-2021 13:43
      |   view attached
    Email Server version:8.5.200.02
    JDK version: jdk1.8.0_171

    ------------------------------
    Debora Lopes
    Wittel Comunicacoes Ltda
    ------------------------------

    Attachment(s)

    txt
    EmailServer_Options.txt   4 KB 1 version


  • 5.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-25-2021 18:31
    Hi Debora,

    Try to change the following option pop-connection-security = ssl-tls then restart your Email Server and try again.


  • 6.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-27-2021 08:09
    Email Server Version: 8.5.200.02
    JDK Version: jdk1.8.0_171

    [chat-client]
    address =

    [email-encoding]
    x-user-defined = us-ascii

    [email-processing]
    attachment-mngt = LEAVE
    autobot-agent-login-name =
    autowar-detect-period = 00:10:00
    autowar-max-reply-count = 5
    autowar-scan-all-threads-of-contact = false
    bcc-address =
    cc-userdata-limit = -1
    check-email-address = true
    contact-identification = IDENTIFY-AND-CREATE
    default-domain = wittel.wttl
    default-from-address =
    default-inbound-queue =
    enable-autowar-detect = false
    enable-extract-uuencoded-file = false
    enable-firstname-lastname-auto-filling = true
    enable-inbound-processor = true
    enable-inbound-submitter = true
    enable-mail-loops = false
    enable-message-id-check = true
    enable-outbound-submitter = true
    enable-same-mail-from-mailboxes = false
    enable-stop-initial-emailin-after-extreply = true
    ext-resource-incoming-address =
    fieldcode-format-locale =
    inbound-msg-thread-pool-size = 10
    inbound-processor-high-watermark = 200
    inbound-processor-low-watermark = 20
    inbound-processor-period = 00:00:30
    inbound-processor-thread-pool-size = 5
    inbound-submitter-high-watermark = 200
    inbound-submitter-low-watermark = 20
    inbound-submitter-period = 00:00:30
    ixn-server-cnx-max-idle-time = 00:05:00
    ndr-senders-list = mailer-daemon,postmaster,mmdf
    outbound-msg-charset = utf-8
    outbound-msg-thread-pool-size = 10
    outbound-submitter-high-watermark = 200
    outbound-submitter-low-watermark = 20
    outbound-submitter-period = 00:00:30
    quote-cc = Cc:
    quote-from = From:
    quote-prefix = >
    quote-sent = Sent:
    quote-separator =


  • 7.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 09-27-2021 11:19
    Edited by Matt Lawson 09-27-2021 11:32
    Hi Debora,

    I mean in the [pop-client-teste] section you have created there's an option called pop-connection-security just modify its value with ssl-tls then restart your Email Server and see what will happen further.


  • 8.  RE: Migration EmailServer from Exchnage 2016 to Office 365

    Posted 11-06-2021 02:52
    Do you have this working now Debora?  Did you also change the exchange-version option in the pop and smtp sections?

    ------------------------------
    Vaun McCarthy
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources