Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-16603

Exchange with Turkish locale IMAP service

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Jira fails to create or comment on issues when using a Exchange Server 2007 with turkish locale. The logs will present an exception like:

      JiraQuartzScheduler_Worker-3 ERROR [service.services.mail.MailFetcherService] Create Issue/Comment Service - ...[...]: Exception: A4 BAD Command Argument Error. 11;
      nested exception is:
      com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
      javax.mail.MessagingException: A4 BAD Command Argument Error. 11;
      nested exception is:
      com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
      at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:624)
      at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:175)
      at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56)
      at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      

      The communication with exchange looks like:

      *  OK Microsoft Exchange Server 2007 IMAP4 service ready
      ...
        A4 FETCH 1 (BODY.PEEK[HEADER.FIELDS (Message-ID)])
        A4 BAD Command Argument Error. 11
        A5 NOOP
        A5 OK NOOP completed.
        A6 CLOSE
        A6 OK CLOSE completed.
        A7 LOGOUT
      * BYE Microsoft Exchange Server 2007 IMAP4 server signing off.
        A7 OK LOGOUT completed.
      

      This seems to be due to the problems converting the 'i' character in Turkish from upper case to lower case (explanation). For instance, the following sequence fails:

      -> 5 FETCH 1:* (BODY.PEEK[HEADER.FIELDS (Message-Id)])
      <- 5 BAD Command Argument Error. 11
      

      But with a non capital 'i' is succeeds:

      -> 6 FETCH 1:* (BODY.PEEK[HEADER.FiELDS (Message-id)])
      <- * ...
      <- 6 OK FETCH completed.
      

              Unassigned Unassigned
              dalonso Diego Alonso [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: