Overview
This article describes the issue and its resolution, which occurs when adding an IMAP data source and running MARC on a system locale like tr-TR (Turkish):
Error: 'The IMAP server did not confirm support for the IMAP4rev1 protocol among its capabilities'.
Adding the journal mailbox fails when trying to add an IMAP data source via Configuration > Mail Servers to Archive on a system with a locale like tr-TR (Turkish) (others might be affected too). Core2 logging looks similar to below with IMAP server's capability reply clearly indicating that IMAP4rev1 is supported:
2014-06-12,13:38:54,205,1,"#0000168C","#0000002A","info","ImapProviderTest",">> Test" 2014-06-12,13:38:54,251,1,"#0000168C","#0000002A","info","ImapProviderTest","Connecting to IMAP server '10.1.1.10' (port: 143, connection security: none)..." 2014-06-12,13:38:54,380,1,"#0000168C","#0000002A","info","ImapClient","S: *OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (epostasunucu.sertrans.com.tr) ready." 2014-06-12,13:38:54,381,1,"#0000168C","#0000002A","info","ImapProviderTest","Connection success." 2014-06-12,13:38:54,381,1,"#0000168C","#0000002A","info ","ImapProviderTest","Verifying capabilities..." 2014-06-12,13:38:54,430,1,"#0000168C","#0000002A","info","ImapClient","C: 1 CAPABILITY" 2014-06-12,13:38:54,440,1,"#0000168C","#0000002A","info","ImapClient","S: * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN" 2014-06-12,13:38:54,446,1,"#0000168C","#0000002A","info","ImapClient","S: 1 OK CAPABILITY completed." 2014-06-12,13:38:54,501,1,"#0000168C","#0000002A","error","ImapProviderTest","ERROR: Exception while connecting: ;MArc.Exceptions.DSException: SourceOpenFailed ---> MArc.Imap.Client.ResponseHandlers.ProtocolNotSupportedException: The IMAP server did not confirm support for the IMAP4rev1 protocol among its capabilities. ; at MArc.Imap.Client.ImapClient.VerifyIMAP4rev1() ; at MArc.DS.ImapClientFactory.Create(ImapLocation location, ImapSettings settings, Boolean isProviderTest); --- End of inner exception stack trace --- ; at MArc.DS.ImapClientFactory.Create(ImapLocation location, ImapSettings settings, Boolean isProviderTest)"
Environment
GFI Archiver Build 20131111, 20140616
Resolution
Perform one of the following to resolve the issue:
- Upgrade to MARC2015 build 20141117 or newer.
- For build 20140616, apply patch MARC2014_PATCH_20140620_2414.
- For build 20131111, apply patch MARC2013_R2_PATCH_20140620_2414.