Overview
This article describes the error and its resolution, which occurs when the configuration of Mail Servers to Archive settings' fails with one of the following errors:
'IMAP protocol error'
'Source Open Failed'
'BAD Command received in Invalid state'
Environment
- GFI Archiver
- Microsoft Exchange
- All Supported Environments
Root Cause
Errors can be caused if the IMAP service is not running or GFI Archiver is configured to use Plain Text IMAP login, and Microsoft Exchange is configured to use secure login.
Resolution
Follow the steps as outlined below to resolve this issue:
-
Confirm the Microsoft Exchange IMAP4 is set to automatic and started:
- From the Microsoft Exchange server, navigate to Start > Administrative Tools > Services.
- Find the Microsoft Exchange IMAP4 Service.
- Right-click service > Properties > Startup type: Automatic > OK.
- Right-click service > Start.
-
Either enable SSL in GFI Archiver or enable plain text login in Microsoft Exchange server
-
Enable SSL in GFI Archiver:
- In GFI Archiver, select Configuration tab.
- From Overview of current settings, click Mail Servers to Archive.
- Select Add or Edit.
- Complete wizard and select Use SSL.
-
Enable plain text login in Microsoft Exchange server:
-
Microsoft Exchange 2003
- Open Exchange System Manager.
- Expand the Servers container.
- Expand further down to Default IMAP4 Virtual Server.
- Right-click Default IMAP4 Virtual Server and select Properties.
- Change to the Access tab and click Authentication.
- Ensure the only option checked is Basic Authentication (password is sent in clear text).
- If any change was made, restart the IMAP service and retry configuring Mail Servers to Archive
-
Microsoft Exchange 2007 and 2010
- Open the Exchange Management Console.
- Expand Server Configuration and click Client Access.
- Click POP3 and IMAP4.
- Right-click IMAP4 and choose Properties.
- Under Authentication ensure only Plain text logon (Basic Authentication) is enabled.
- If any change was made, restart the IMAP service and retry configuring Mail Servers to Archive.
-
Microsoft Exchange 2003
-