Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21637

IMAP server immediatly closes connection on IMAP SEARCH commands

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Community Edition 201602 GA
    • Fix Version/s: None
    • Component/s: IMAP
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Server: Ubuntu Server 14.04, Alfresco Community 201604
      Clients: Windows 10, tested with Outlook 2013 and Windows Mail 17.6868
    • Triage:
      ACE

      Description

      The Outlook Clients we tested with (versions below) issue a "UID SEARCH" or "SEARCH" command shortly after authenticating to an IMAP server - like this:

      SEARCH UNDELETED SINCE 11-Feb-2016
      or
      UID SEARCH SINCE 08-May-2016

      All SEARCH commands fail on Alfresco community 201604 - no result to the SEARCH command is returned, and the IMAP connection either runs into a timeout, or is closed immediately. It does not seem to matter if SEARCH or UID SEARCH is used, or which SEARCH expression

      Example session with telnet:

      1 login admin password
      1 OK LOGIN completed.
      2 select INBOX

      • 10 EXISTS
      • 0 RECENT
      • OK [UNSEEN 2] Message 2 is the first unseen
      • OK [UIDVALIDITY 1462872941] UIDs valid
      • OK [UIDNEXT 889] Predicted next UID
      • FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
      • OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen)] Limited
        2 OK [READ-WRITE] SELECT completed.
        3 SEARCH SEEN
        Connection closed by foreign host.

      This renders IMAP completly useless for Outlook Clients - no mails are displayed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                resplin Richard Esplin
                Reporter:
                cibex cibex GmbH
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: