Announcement

Collapse
No announcement yet.

Dovecot IMAP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dovecot IMAP

    I setup OX6 on a virtual machine and was able to install and use the interface. I connected the test user to a commercial IMAP service and it worked correctly, however when connecting to my local dovecot service I cannot access any email.

    The following errors are in the logs:

    Code:
    Jan 21, 2009 7:05:20 PM com.openexchange.groupware.settings.impl.RdbSettingStorage readSharedValue
    SEVERE: Problem while reading setting value.
    IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1209221572-824
    
    
    SEVERE: MSG-0001 Category=8 Message=Missing parameter folder exceptionID=1209221572-841

  • #2
    Hi,

    could you please post the complete log entry? What version of Dovecot do you use exactly? Is there anything at the Dovecot logs?

    Thanks!
    Last edited by Martin Heiland; 01-22-2009, 10:20 AM.

    Comment


    • #3
      Below is the log from /var/log/open-xchange/open-xchange.log.0

      Code:
      Jan 23, 2009 1:06:36 AM com.openexchange.mail.api.MailAccess connect
      SEVERE: Checking default folders on connect failed: MSG-1023 Category=8 Message=Messaging error: Unsupported type exceptionID=1343996927-42
      MSG-1023 Category=8 Message=Messaging error: Unsupported type exceptionID=1343996927-42
      	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:456)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolders(IMAPFolderStorage.java:525)
      	at com.openexchange.mail.api.MailAccess.connect(MailAccess.java:315)
      	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:786)
      	at com.openexchange.mail.MailServletInterfaceImpl.getInboxFolder(MailServletInterfaceImpl.java:406)
      	at com.openexchange.groupware.settings.tree.modules.mail.folder.Inbox$1.getValue(Inbox.java:106)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:300)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:241)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.ajax.ConfigMenu.doGet(ConfigMenu.java:122)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
      	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:376)
      	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:152)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:120)
      	at com.openexchange.ajp13.AJPv13RequestHandler.createResponse(AJPv13RequestHandler.java:466)
      	at com.openexchange.ajp13.AJPv13Connection.createResponse(AJPv13Connection.java:197)
      	at com.openexchange.ajp13.AJPv13Listener.run(AJPv13Listener.java:268)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.mail.MessagingException: Unsupported type;
        nested exception is:
      	com.sun.mail.iap.ProtocolException: Unsupported type
      	at com.sun.mail.imap.IMAPFolder.doCommandIgnoreFailure(IMAPFolder.java:2618)
      	at com.sun.mail.imap.IMAPFolder.create(IMAPFolder.java:725)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolder(IMAPFolderStorage.java:1788)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolders(IMAPFolderStorage.java:518)
      	... 24 more
      Caused by: com.sun.mail.iap.ProtocolException: Unsupported type
      	at com.sun.mail.imap.IMAPFolder$6.doCommand(IMAPFolder.java:745)
      	at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2639)
      	at com.sun.mail.imap.IMAPFolder.doCommandIgnoreFailure(IMAPFolder.java:2611)
      	... 27 more
      Jan 23, 2009 1:06:36 AM com.openexchange.groupware.settings.impl.RdbSettingStorage readSharedValue
      SEVERE: Problem while reading setting value.
      IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1343996927-44
      	at com.openexchange.groupware.settings.tree.modules.mail.folder.Inbox$1.getValue(Inbox.java:108)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:300)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:241)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.ajax.ConfigMenu.doGet(ConfigMenu.java:122)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
      	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:376)
      	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:152)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:120)
      	at com.openexchange.ajp13.AJPv13RequestHandler.createResponse(AJPv13RequestHandler.java:466)
      	at com.openexchange.ajp13.AJPv13Connection.createResponse(AJPv13Connection.java:197)
      	at com.openexchange.ajp13.AJPv13Listener.run(AJPv13Listener.java:268)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1343996927-43
      	at com.openexchange.imap.IMAPAccess.getFolderStorage(IMAPAccess.java:370)
      	at com.openexchange.imap.IMAPAccess.getFolderStorage(IMAPAccess.java:86)
      	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:797)
      	at com.openexchange.mail.MailServletInterfaceImpl.getInboxFolder(MailServletInterfaceImpl.java:406)
      	at com.openexchange.groupware.settings.tree.modules.mail.folder.Inbox$1.getValue(Inbox.java:106)
      	... 20 more
      Jan 23, 2009 1:06:37 AM com.openexchange.mail.api.MailAccess connect
      SEVERE: Checking default folders on connect failed: MSG-1023 Category=8 Message=Messaging error: Unsupported type exceptionID=1343996927-45
      MSG-1023 Category=8 Message=Messaging error: Unsupported type exceptionID=1343996927-45
      	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:456)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolders(IMAPFolderStorage.java:525)
      	at com.openexchange.mail.api.MailAccess.connect(MailAccess.java:315)
      	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:786)
      	at com.openexchange.mail.MailServletInterfaceImpl.getSpamFolder(MailServletInterfaceImpl.java:690)
      	at com.openexchange.groupware.settings.tree.modules.mail.folder.Spam$1.getValue(Spam.java:106)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:300)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:241)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.ajax.ConfigMenu.doGet(ConfigMenu.java:122)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
      	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:376)
      	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:152)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:120)
      	at com.openexchange.ajp13.AJPv13RequestHandler.createResponse(AJPv13RequestHandler.java:466)
      	at com.openexchange.ajp13.AJPv13Connection.createResponse(AJPv13Connection.java:197)
      	at com.openexchange.ajp13.AJPv13Listener.run(AJPv13Listener.java:268)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.mail.MessagingException: Unsupported type;
        nested exception is:
      	com.sun.mail.iap.ProtocolException: Unsupported type
      	at com.sun.mail.imap.IMAPFolder.doCommandIgnoreFailure(IMAPFolder.java:2618)
      	at com.sun.mail.imap.IMAPFolder.create(IMAPFolder.java:725)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolder(IMAPFolderStorage.java:1788)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolders(IMAPFolderStorage.java:518)
      	... 24 more
      Caused by: com.sun.mail.iap.ProtocolException: Unsupported type
      	at com.sun.mail.imap.IMAPFolder$6.doCommand(IMAPFolder.java:745)
      	at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2639)
      	at com.sun.mail.imap.IMAPFolder.doCommandIgnoreFailure(IMAPFolder.java:2611)
      	... 27 more
      Jan 23, 2009 1:06:37 AM com.openexchange.groupware.settings.impl.RdbSettingStorage readSharedValue
      SEVERE: Problem while reading setting value.
      IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1343996927-47
      	at com.openexchange.groupware.settings.tree.modules.mail.folder.Spam$1.getValue(Spam.java:108)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:300)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:241)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:351)
      	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:237)
      	at com.openexchange.ajax.ConfigMenu.doGet(ConfigMenu.java:122)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
      	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:376)
      	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:152)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:120)
      	at com.openexchange.ajp13.AJPv13RequestHandler.createResponse(AJPv13RequestHandler.java:466)
      	at com.openexchange.ajp13.AJPv13Connection.createResponse(AJPv13Connection.java:197)
      	at com.openexchange.ajp13.AJPv13Listener.run(AJPv13Listener.java:268)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1343996927-46
      	at com.openexchange.imap.IMAPAccess.getFolderStorage(IMAPAccess.java:370)
      	at com.openexchange.imap.IMAPAccess.getFolderStorage(IMAPAccess.java:86)
      	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:797)
      	at com.openexchange.mail.MailServletInterfaceImpl.getSpamFolder(MailServletInterfaceImpl.java:690)
      	at com.openexchange.groupware.settings.tree.modules.mail.folder.Spam$1.getValue(Spam.java:106)
      	... 20 more
      Jan 23, 2009 1:06:39 AM com.openexchange.mail.api.MailAccess connect
      SEVERE: Checking default folders on connect failed: MSG-1023 Category=8 Message=Messaging error: Unsupported type exceptionID=1343996927-49
      MSG-1023 Category=8 Message=Messaging error: Unsupported type exceptionID=1343996927-49
      	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:456)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolders(IMAPFolderStorage.java:525)
      	at com.openexchange.mail.api.MailAccess.connect(MailAccess.java:315)
      	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:786)
      	at com.openexchange.mail.MailServletInterfaceImpl.getQuotas(MailServletInterfaceImpl.java:616)
      	at com.openexchange.ajax.request.QuotaRequest.mail(QuotaRequest.java:161)
      	at com.openexchange.ajax.request.QuotaRequest.action(QuotaRequest.java:115)
      	at com.openexchange.ajax.Quota.doGet(Quota.java:107)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
      	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:376)
      	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:152)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:120)
      	at com.openexchange.ajp13.AJPv13RequestHandler.createResponse(AJPv13RequestHandler.java:466)
      	at com.openexchange.ajp13.AJPv13Connection.createResponse(AJPv13Connection.java:197)
      	at com.openexchange.ajp13.AJPv13Listener.run(AJPv13Listener.java:268)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.mail.MessagingException: Unsupported type;
        nested exception is:
      	com.sun.mail.iap.ProtocolException: Unsupported type
      	at com.sun.mail.imap.IMAPFolder.doCommandIgnoreFailure(IMAPFolder.java:2618)
      	at com.sun.mail.imap.IMAPFolder.create(IMAPFolder.java:725)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolder(IMAPFolderStorage.java:1788)
      	at com.openexchange.imap.IMAPFolderStorage.checkDefaultFolders(IMAPFolderStorage.java:518)
      	... 15 more
      Caused by: com.sun.mail.iap.ProtocolException: Unsupported type
      	at com.sun.mail.imap.IMAPFolder$6.doCommand(IMAPFolder.java:745)
      	at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2639)
      	at com.sun.mail.imap.IMAPFolder.doCommandIgnoreFailure(IMAPFolder.java:2611)
      	... 18 more
      Jan 23, 2009 1:06:39 AM com.openexchange.ajax.request.QuotaRequest mail
      SEVERE: IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1343996927-50
      IMAP-2001 Category=8 Message=No connection available to access mailbox exceptionID=1343996927-50
      	at com.openexchange.imap.IMAPAccess.getFolderStorage(IMAPAccess.java:370)
      	at com.openexchange.imap.IMAPAccess.getFolderStorage(IMAPAccess.java:86)
      	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:797)
      	at com.openexchange.mail.MailServletInterfaceImpl.getQuotas(MailServletInterfaceImpl.java:616)
      	at com.openexchange.ajax.request.QuotaRequest.mail(QuotaRequest.java:161)
      	at com.openexchange.ajax.request.QuotaRequest.action(QuotaRequest.java:115)
      	at com.openexchange.ajax.Quota.doGet(Quota.java:107)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
      	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:376)
      	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:152)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:120)
      	at com.openexchange.ajp13.AJPv13RequestHandler.createResponse(AJPv13RequestHandler.java:466)
      	at com.openexchange.ajp13.AJPv13Connection.createResponse(AJPv13Connection.java:197)
      	at com.openexchange.ajp13.AJPv13Listener.run(AJPv13Listener.java:268)
      	at java.lang.Thread.run(Thread.java:595)
      Below is the content of mail.log

      Code:
      Jan 23 01:02:59 mail dovecot: imap-login: Login: user=<eorzech>, method=PLAIN, rip=XX.XXX.XX.XXXX, lip=192.168.1.5
      Jan 23 01:02:59 mail dovecot: IMAP(eorzech): Disconnected: Logged out bytes=223/717
      Jan 23 01:02:59 mail dovecot: imap-login: Login: user=<eorzech>, method=PLAIN, rip=XX.XXX.XX.XXXX, lip=192.168.1.5
      Jan 23 01:03:00 mail dovecot: IMAP(eorzech): Disconnected: Logged out bytes=223/717
      Jan 23 01:03:00 mail dovecot: imap-login: Login: user=<eorzech>, method=PLAIN, rip=XX.XXX.XX.XXXX, lip=192.168.1.5
      Jan 23 01:03:01 mail dovecot: IMAP(eorzech): Disconnected: Logged out bytes=223/717
      Jan 23 01:03:01 mail dovecot: imap-login: Login: user=<eorzech>, method=PLAIN, rip=XX.XXX.XX.XXXX, lip=192.168.1.5
      Jan 23 01:03:02 mail dovecot: IMAP(eorzech): Disconnected: Logged out bytes=223/717
      Jan 23 01:03:57 mail dovecot: imap-login: Login: user=<eorzech>, method=PLAIN, rip=XX.XXX.XX.XXXX, lip=192.168.1.5
      Jan 23 01:03:58 mail dovecot: IMAP(eorzech): Disconnected: Logged out bytes=223/717
      The server is running Dovecot version 1.1.4, the same thing happens when I was using Dovecot 1.0.1.

      Thanks for your help on this, I truly appreciate it.

      Comment


      • #4
        Hello,

        Has anyone identified the cause of the error? I am facing the same issue on my setup. Any try to connect to my imap server leads to a "SEVERE: Checking default folders on connect failed: MSG-1023, etc.".

        Some additional information:

        - I am using IMAPS on port 993

        - the IMAP server used is UW IMAP.

        - I can connect with Outlook or Thunderbird to this IMAP server though.

        - I have checked with another IMAP server (Courier IMAP), still using IMAPS on port 993, and email access works well.

        I can provide additional information to further help on this issue.

        Regards,

        Michaël

        Comment


        • #5
          Hi,

          UW IMAP uses the mbox format, not maildir like modern servers do. OX as a compatibility mode for those mbox based servers:

          /opt/open-xchange/etc/groupware/imap.properties
          Code:
          # Enable/disable mbox format: A mail folder can only either hold subfolders or hold messages.
          # Furthermore the folder type on creation is determined by the folder name. If folder name
          # ends with the server-defined folder separator character its type is HOLDS-FOLDERS; otherwise
          # its type is HOLDS-MESSAGES.
          # Note that there's currently an unresolved problem concerning deletion of mail folders. Since
          # the trash folder is created to hold only messages, no backup of the deleted folder can be
          # copied to trash folder; meaning the folder in question (including messages, its subfolders,
          # and subfolders' contents) is irretrievably lost.
          com.openexchange.imap.mboxEnabled=true
          Greetings

          Comment


          • #6
            Hi Martin,

            That solve the issue. Thank you for your quick feedback and support!

            Regards,

            Michaël

            Comment

            Working...
            X