Email listener is not processing messages, logs show -ERR Command is not valid in this state.

Version 1

    Details

     

    Logs display the following error:

    Quiksoft.EasyMail.POP3.POP3ProtocolException: -ERR Command is not valid in this state.   at Quiksoft.EasyMail.POP3.POP3.?(String A_0, Int32 A_1)   at Quiksoft.EasyMail.POP3.POP3.Login(String Account, String Password, AuthMode AuthMode)   at com.frontrange.saas.EmailService.MailboxAccessProtocolAdapter.GetPOPMailBox(String tenantID, String mailboxName, String userName, String password, POP3AuthType mailBoxAuth, String serverHost, Int32 serverPort, Boolean useTLS)

     


    Resolution

    - This is caused when you are using POP3 as the email listener type and Authentication is set to Plain. 
    - The problem comes from your -Microsoft Exchange Server not supporting Plain text logins. 
    - This change will need to be made on your Microsoft Exchange server.
    - Below are the steps to make this change against Microsoft Exchange 2010.


    Please notes that Microsoft Exchange is considered a third party application and FrontRange does not offer direct support for Microsoft Exchange.

    1. Log into your Exchange 2010 server
    2. Open the Exchange Management Shell
    3. Issue command Set-PopSettings -LoginType PlainTextLogin
    4. Restart the Exchange POP Service