Announcement

Collapse
No announcement yet.

OX Error MSG-1031 with ManageSieve

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

  • OX Error MSG-1031 with ManageSieve

    Hello OX-Community,

    i have a strange problem with OX and ManageSieve.
    We use an external IMAP-Sever (DoveCot v.1.2) with ManageSieve.
    I created successfuly a new rule via OX.But since the rule exists i get this Error in OX -> MSG-1031.
    So i checkd the OX Logs and the Mailserver logs.

    Here the Dovecot log:
    Code:
    Apr  1 12:29:54 srv01 dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=91.143.78.12, lip=85.31.18.130, TLS
    Apr  1 12:29:54 srv01 dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out bytes=4336/16795
    Apr  1 12:29:55 srv01 dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=91.143.78.12, lip=85.31.18.130, TLS
    Apr  1 12:29:55 srv01 dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=91.143.78.12, lip=85.31.18.130, TLS
    Apr  1 12:29:55 srv01 dovecot: IMAP(bene@mydomain.tld): stat(/var/mail/virtual/mydomain.tld/bene/.dovecot.sieve/tmp) failed: Not a directory
    Apr  1 12:29:55 srv01 dovecot: IMAP(bene@mydomain.tld): stat(/var/mail/virtual/mydomain.tld/bene/.dovecot.sieve/tmp) failed: Not a directory
    Apr  1 12:29:55 srv01 dovecot: managesieve-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=91.143.78.12, lip=85.31.18.130, TLS
    Apr  1 12:29:55 srv01 dovecot: MANAGESIEVE(bene@mydomain.tld): Disconnected: Logged out bytes ( in=6 : out=41 )
    Apr  1 12:29:55 srv01 dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=91.143.78.12, lip=85.31.18.130, TLS
    Apr  1 12:29:55 srv01 dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out bytes=9392/645876
    Apr  1 12:29:55 srv01 dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out bytes=18/359
    -> stat(/var/mail/virtual/mydomain.tld/bene/.dovecot.sieve/tmp) failed: Not a directory

    Here the e-Mailfolder structure:
    Code:
    srv01:/var/mail/virtual/mydomain.tld/bene# ls -la
    total 1656
    drwxr-xr-x 25 vmail mail    4096 2011-04-01 13:03 .
    drwx------ 12 vmail mail    4096 2011-01-20 07:38 ..
    drwxr-xr-x  5 vmail mail    4096 2010-02-08 19:00 .Cron Daemon
    drwx------  2 vmail mail   90112 2011-04-01 10:36 cur
    -rw-r--r--  1 vmail mail   34128 2011-04-01 08:41 dovecot.index
    -rw-r--r--  1 vmail mail 1288192 2011-04-01 12:58 dovecot.index.cache
    -rw-r--r--  1 vmail mail   28308 2011-04-01 12:15 dovecot.index.log
    -rw-r--r--  1 vmail mail      67 2010-03-11 08:29 dovecot-keywords
    -rw-------  1 vmail mail     151 2009-03-05 12:05 .dovecot.lda-dupes
    lrwxrwxrwx  1 vmail mail      24 2011-04-01 13:03 .dovecot.sieve -> sieve/Open-Xchange.sieve
    -rw-------  1 vmail mail      20 2010-01-18 11:30 .dovecot.sievec
    -rw-r-----  1 vmail mail     257 2010-02-08 19:10 .dovecot.svbin
    -rw-r--r--  1 vmail mail   98283 2011-04-01 10:17 dovecot-uidlist
    -rw-------  1 vmail mail       8 2011-03-30 17:57 dovecot-uidvalidity
    -rw-------  1 vmail mail       0 2009-03-25 11:59 dovecot-uidvalidity.49ca0ec6
    drwx------  5 vmail mail    4096 2011-03-31 20:37 .Drafts
    drwx------  5 vmail mail    4096 2011-03-28 18:30 .Entw&APw-rfe
    drwx------  5 vmail mail    4096 2011-03-29 09:33 .E-Rechnungen
    drwxr-xr-x  5 vmail mail    4096 2011-04-01 07:14 .FritzBox
    drwxr-xr-x  5 vmail mail    4096 2011-03-30 19:38 .Gesendet
    drwx------  5 vmail mail    4096 2011-03-30 08:29 .Gesendete Objekte
    drwx------  5 vmail mail    4096 2009-03-10 07:39 .Junk
    drwx------  5 vmail mail    4096 2011-03-30 10:45 .Logins
    -rw-r--r--  1 vmail mail    1552 2011-04-01 10:17 maildirsize
    drwx------  2 vmail mail   16384 2011-04-01 10:17 new
    drwx------  5 vmail mail    4096 2011-04-01 12:15 .Papierkorb
    drwxr-xr-x  5 vmail mail    4096 2010-01-18 11:20 .pysieved
    drwx------  5 vmail mail    4096 2011-03-31 19:50 .Sent
    drwx------  5 vmail mail    4096 2011-03-30 10:45 .Sent Items
    drwxr-x---  3 vmail mail    4096 2011-04-01 13:03 sieve
    drwx------  5 vmail mail    4096 2011-01-31 11:55 .Sonstige Kosten
    drwx------  5 vmail mail    4096 2009-06-23 10:42 .Spam
    -rw-r--r--  1 vmail mail     175 2011-03-31 19:33 subscriptions
    drwx------  5 vmail mail    4096 2009-03-25 13:28 .Templates
    drwx------  2 vmail mail    4096 2011-04-01 10:17 tmp
    drwx------  5 vmail mail    4096 2011-04-01 07:13 .Trash
    srv01:/var/mail/virtual/mydomain.tld/bene# cd sieve/
    srv01:/var/mail/virtual/mydomain.tld/bene/sieve# ls -la
    total 24
    drwxr-x---  3 vmail mail 4096 2011-04-01 13:03 .
    drwxr-xr-x 25 vmail mail 4096 2011-04-01 13:03 ..
    -rw-r-----  1 vmail mail  293 2011-04-01 13:01 dovecot.orig.sieve
    -rw-r-----  1 vmail mail  135 2011-04-01 13:03 Open-Xchange.sieve
    -rw-r-----  1 vmail mail  293 2010-02-08 19:06 roundcube.sieve
    drwxr-x---  2 vmail mail 4096 2011-04-01 13:03 tmp
    srv01:/var/mail/virtual/mydomain.tld/bene/sieve#
    Yes, .dovecot.sieve -> sieve/Open-Xchange.sieve is a symlink and of course not a directory that contains a "tmp" folder. So i understand the Error message.

    What i do not understand is the fact that Managesieve works just fine with Roundcube. We had no Errors with any client that uses Sieverules in the past.
    But OX has !? We use OX Version : 6.20.0 Rev3 (2011-03-21 15:58:11)

    Maybe someone understand the problem here and can provide us a solution ?
    Thanks alot!
    Open-Xchange - Community Edition User

  • #2
    Hi,

    it would be nice to also have the corresponding error message from the OX log files. This would eliminate the effort of finding error 1031 in the source code.

    Regards,

    Dennis

    Comment


    • #3
      Hey Dennis,

      thanks a lot for your help!
      Here is the current "/var/log/open-xchange/open-xchange.log.0"
      Code:
      Apr 8, 2011 12:33:58 PM com.openexchange.login.internal.LoginPerformer logLoginRequest
      INFO: Login:bene IP:83.184.18.140 AuthID:de4f3f42-2aa0-40b8-85be-4479f3f38f4a Agent:Mozilla/5.0 
      (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 
      Client:com.openexchange.ox.gui.dhtml(6.20.0 Rev5) Interface:HTTP_JSON Context:1(1,defaultcontext) 
      User:3(bene) Session:1af7bad2bd6345b08a2d2ad16b9cf634 Random:ae5d300bc33644efb75db4b43b710c86
      Apr 8, 2011 12:33:59 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:33:59 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.i18n.I18nTranslator translate
      WARNING: I18n service for locale de_DE has no translation for "The OAuthAccount to use".
      Apr 8, 2011 12:34:00 PM com.openexchange.folderstorage.internal.performers.ListPerformer$1 call
      WARNING: Batch loading of folder failed. Fall-back to one-by-one loading.
      MSG-1031 Category=8 Message=Error processing mail server response. The administrator has been informed. exceptionID=237231020-249
              at com.openexchange.folderstorage.mail.MailFolderStorage.getFolder(MailFolderStorage.java:649)
              at com.openexchange.folderstorage.mail.MailFolderStorage.getFolders(MailFolderStorage.java:540)
              at com.openexchange.folderstorage.cache.CacheFolderStorage$3.call(CacheFolderStorage.java:1204)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at com.openexchange.concurrent.CallerRunsCompletionService.submit(CallerRunsCompletionService.java:105)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.loadFolders(CacheFolderStorage.java:1185)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolders(CacheFolderStorage.java:784)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolders(CacheFolderStorage.java:692)
              at com.openexchange.folderstorage.outlook.OutlookFolderStorage.getFolders(OutlookFolderStorage.java:761)
              at com.openexchange.folderstorage.cache.CacheFolderStorage$3.call(CacheFolderStorage.java:1204)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at com.openexchange.concurrent.CallerRunsCompletionService.submit(CallerRunsCompletionService.java:105)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.loadFolders(CacheFolderStorage.java:1185)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolders(CacheFolderStorage.java:784)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolders(CacheFolderStorage.java:692)
              at com.openexchange.folderstorage.internal.performers.ListPerformer$1.call(ListPerformer.java:292)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at com.openexchange.concurrent.CallerRunsCompletionService.submit(CallerRunsCompletionService.java:105)
              at com.openexchange.folderstorage.internal.performers.ListPerformer.doList(ListPerformer.java:274)
              at com.openexchange.folderstorage.internal.performers.ListPerformer.doList(ListPerformer.java:162)
              at com.openexchange.folderstorage.internal.FolderServiceImpl.getSubfolders(FolderServiceImpl.java:217)
              at com.openexchange.folder.json.actions.ListAction.perform(ListAction.java:113)
              at com.openexchange.ajax.requesthandler.MultipleAdapter.performRequest(MultipleAdapter.java:107)
              at com.openexchange.ajax.Multiple.doAction(Multiple.java:214)
              at com.openexchange.ajax.Multiple.parseActionElement(Multiple.java:173)
              at com.openexchange.ajax.Multiple.doPut(Multiple.java:125)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:619)
              at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:413)
              at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:183)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
              at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:523)
              at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:134)
              at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:335)
              at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:227)
              at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:352)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
              at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
              at java.lang.Thread.run(Thread.java:662)
      Caused by: MSG-1031 Category=8 Message=Error processing mail server response. The administrator has been informed. exceptionID=237231020-248
              at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:588)
              at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:362)
              at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:351)
              at com.openexchange.imap.converters.IMAPFolderConverter.convertFolder(IMAPFolderConverter.java:449)
              at com.openexchange.imap.cache.FolderCache.loadFolder(FolderCache.java:260)
              at com.openexchange.imap.cache.FolderCache.getCachedFolder(FolderCache.java:233)
              at com.openexchange.imap.IMAPFolderStorage.getSubfolderArray(IMAPFolderStorage.java:529)
              at com.openexchange.imap.IMAPFolderStorage.getSubfolders(IMAPFolderStorage.java:479)
              at com.openexchange.folderstorage.mail.MailFolderStorage.getFolder(MailFolderStorage.java:622)
              ... 42 more
      Caused by: javax.mail.MessagingException: A153 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2011-04-08 14:25:42];
        nested exception is:
              com.sun.mail.iap.CommandFailedException: A153 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2011-04-08 14:25:42]
              at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2602)
              at com.openexchange.imap.IMAPCommandsCollection.getStatus(IMAPCommandsCollection.java:412)
              at com.openexchange.imap.converters.IMAPFolderConverter.convertFolder(IMAPFolderConverter.java:410)
              ... 47 more
      Caused by: com.sun.mail.iap.CommandFailedException: A153 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2011-04-08 14:25:42]
              at com.sun.mail.iap.Protocol.handleResult(Protocol.java:340)
              at com.openexchange.imap.IMAPCommandsCollection$7.doCommand(IMAPCommandsCollection.java:471)
              at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2657)
              at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2597)
              ... 49 more
      Apr 8, 2011 12:34:00 PM com.openexchange.folderstorage.internal.performers.ListPerformer$1 call
      WARNING: The folder with ID "default0/INBOX.dovecot" in tree "1" could not be fetched from storage "CacheFolderStorage"
      MSG-1031 Category=8 Message=Error processing mail server response. The administrator has been informed. exceptionID=237231020-251
              at com.openexchange.folderstorage.mail.MailFolderStorage.getFolder(MailFolderStorage.java:649)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.loadFolder(CacheFolderStorage.java:1123)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolder(CacheFolderStorage.java:706)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolder(CacheFolderStorage.java:688)
              at com.openexchange.folderstorage.outlook.OutlookFolderStorage.getFolder(OutlookFolderStorage.java:910)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.loadFolder(CacheFolderStorage.java:1123)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolder(CacheFolderStorage.java:706)
              at com.openexchange.folderstorage.cache.CacheFolderStorage.getFolder(CacheFolderStorage.java:688)
              at com.openexchange.folderstorage.internal.performers.ListPerformer$1.call(ListPerformer.java:317)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at com.openexchange.concurrent.CallerRunsCompletionService.submit(CallerRunsCompletionService.java:105)
              at com.openexchange.folderstorage.internal.performers.ListPerformer.doList(ListPerformer.java:274)
              at com.openexchange.folderstorage.internal.performers.ListPerformer.doList(ListPerformer.java:162)
              at com.openexchange.folderstorage.internal.FolderServiceImpl.getSubfolders(FolderServiceImpl.java:217)
              at com.openexchange.folder.json.actions.ListAction.perform(ListAction.java:113)
              at com.openexchange.ajax.requesthandler.MultipleAdapter.performRequest(MultipleAdapter.java:107)
              at com.openexchange.ajax.Multiple.doAction(Multiple.java:214)
              at com.openexchange.ajax.Multiple.parseActionElement(Multiple.java:173)
              at com.openexchange.ajax.Multiple.doPut(Multiple.java:125)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:619)
              at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:413)
              at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:183)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
              at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:523)
              at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:134)
              at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:335)
              at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:227)
              at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:352)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
              at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
              at java.lang.Thread.run(Thread.java:662)
      Caused by: MSG-1031 Category=8 Message=Error processing mail server response. The administrator has been informed. exceptionID=237231020-250
              at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:588)
              at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:362)
              at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:351)
              at com.openexchange.imap.converters.IMAPFolderConverter.convertFolder(IMAPFolderConverter.java:449)
              at com.openexchange.imap.cache.FolderCache.loadFolder(FolderCache.java:260)
              at com.openexchange.imap.cache.FolderCache.getCachedFolder(FolderCache.java:233)
              at com.openexchange.imap.IMAPFolderStorage.getSubfolderArray(IMAPFolderStorage.java:529)
              at com.openexchange.imap.IMAPFolderStorage.getSubfolders(IMAPFolderStorage.java:479)
              at com.openexchange.folderstorage.mail.MailFolderStorage.getFolder(MailFolderStorage.java:622)
              ... 33 more
      Caused by: javax.mail.MessagingException: A168 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2011-04-08 14:25:42];
        nested exception is:
              com.sun.mail.iap.CommandFailedException: A168 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2011-04-08 14:25:42]
              at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2602)
              at com.openexchange.imap.IMAPCommandsCollection.getStatus(IMAPCommandsCollection.java:412)
              at com.openexchange.imap.converters.IMAPFolderConverter.convertFolder(IMAPFolderConverter.java:410)
              ... 38 more
      Caused by: com.sun.mail.iap.CommandFailedException: A168 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2011-04-08 14:25:42]
              at com.sun.mail.iap.Protocol.handleResult(Protocol.java:340)
              at com.openexchange.imap.IMAPCommandsCollection$7.doCommand(IMAPCommandsCollection.java:471)
              at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2657)
              at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2597)
              ... 40 more
      Apr 8, 2011 12:34:04 PM com.openexchange.login.internal.LoginPerformer logLogout
      INFO: Logout  Context:1(1,defaultcontext) User:3(bene) Session:1af7bad2bd6345b08a2d2ad16b9cf634
      Apr 8, 2011 12:34:04 PM com.openexchange.mail.cache.MailAccessCacheEventListener handleEvent
      INFO: Detected a removed session: 1af7bad2bd6345b08a2d2ad16b9cf634. Removed all possibly cached mail access instances for user 3 in context 1
      Greez BeNe
      Open-Xchange - Community Edition User

      Comment


      • #4
        Hi,

        the error in the log files is not related to sieve. It's an error from the IMAP access, because it cannot access the Inbox folder. Can you please just move the sieve parts from the directory somewhere else to check if the error message is gone afterwards.

        And Roundcube currently doesn't have any problems accessing the mails? This looks like a general IMAP server problem to me.

        Regards,

        Dennis

        Comment


        • #5
          Hi Dennis,

          i moved all the sieve stuff outside of my inbox and now it works, no more errors.
          Of course, i lost my sieve rules

          It's an error from the IMAP access, because it cannot access the Inbox folder.
          Interesting! I can access my complete Inbox with all Folders inside without a problem in OX. I only recieve the Error MSG.

          And Roundcube currently doesn't have any problems accessing the mails?
          Correct - no Problems with Mails and no problem with Sieve Rules under RoundCube.
          Thunderbird works also just fine. As i said, OX Webmailer works, too. But only with the MSG-1031.

          Regards,
          BeNe
          Open-Xchange - Community Edition User

          Comment


          • #6
            Well, just take a look at the stacktrace:
            A153 NO [SERVERBUG] Internal error occurred. Refer to server log for more information.

            The IMAP Server responds with [SERVERBUG] - i guess OX is trying to access some stuff which roundcube did not (the exact same way). Perhaps you can get some info about the IMAP Server you're using and possible open bugs that cause such response codes.

            Comment


            • #7
              I deleted all sieve rules on my Inbox, created some new rules in Roundcube and rechecked in the OX Webmail.

              ==> Result: no more Error Messages!

              I saw that there is no symlink now in my Inbox structure.
              So "tmp" is accessable in the same dir.

              I will have my eyes on it the next times, but it looks good

              Thanks for all!

              Regards,
              BeNe
              Open-Xchange - Community Edition User

              Comment


              • #8
                Seems to me that the Error is not complete solved
                Started with a new User and a new Inbox -> same problem, MSG-1031.

                If the Configuration about ManageSieve is corrent in the Dovecot Wiki (http://wiki.dovecot.org/ManageSieve/Configuration).
                The OX-Webmailer needs to check inside the "sieve_dir" for a "tmp"-folder and not on
                the symlink to the active .sieve file.

                Can someone reproduce this behavior with Dovecot 1.2.10 ?
                Here is my current config.
                Code:
                # 1.2.10: /etc/dovecot/dovecot.conf
                # OS: Linux 2.6.26-2-openvz-amd64 x86_64 Debian 5.0.8 ext3
                base_dir: /var/run/dovecot/
                protocols: imap pop3 imaps pop3s managesieve
                listen(default): *
                listen(imap): *
                listen(pop3): *
                listen(managesieve): *:2000
                disable_plaintext_auth: no
                login_dir: /var/run/dovecot//login
                login_executable(default): /usr/lib/dovecot/imap-login
                login_executable(imap): /usr/lib/dovecot/imap-login
                login_executable(pop3): /usr/lib/dovecot/pop3-login
                login_executable(managesieve): /usr/lib/dovecot/managesieve-login
                mail_max_userip_connections(default): 20
                mail_max_userip_connections(imap): 20
                mail_max_userip_connections(pop3): 10
                mail_max_userip_connections(managesieve): 10
                mail_access_groups: mail
                mail_location: maildir:/var/mail/virtual/%Ld/%Ln
                mail_debug(default): no
                mail_debug(imap): no
                mail_debug(pop3): no
                mail_debug(managesieve): yes
                mbox_write_locks: fcntl dotlock
                mail_executable(default): /usr/lib/dovecot/imap
                mail_executable(imap): /usr/lib/dovecot/imap
                mail_executable(pop3): /usr/lib/dovecot/pop3
                mail_executable(managesieve): /usr/lib/dovecot/managesieve
                mail_plugins(default): quota imap_quota
                mail_plugins(imap): quota imap_quota
                mail_plugins(pop3): quota
                mail_plugins(managesieve):
                mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
                mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
                mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
                mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
                pop3_uidl_format(default): %08Xu%08Xv
                pop3_uidl_format(imap): %08Xu%08Xv
                pop3_uidl_format(pop3): %u-%v
                pop3_uidl_format(managesieve): %08Xu%08Xv
                managesieve_logout_format(default): bytes=%i/%o
                managesieve_logout_format(imap): bytes=%i/%o
                managesieve_logout_format(pop3): bytes=%i/%o
                managesieve_logout_format(managesieve): bytes ( in=%i : out=%o )
                namespace:
                  type: private
                  prefix: INBOX.
                  inbox: yes
                  list: yes
                  subscriptions: yes
                lda:
                  postmaster_address: postmaster@mydomain.tld
                  auth_socket_path: /var/run/dovecot/auth-master
                  mail_plugins: sieve quota
                auth default:
                  mechanisms: plain login
                  verbose: yes
                  passdb:
                    driver: checkpassword
                    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
                  userdb:
                    driver: sql
                    args: /etc/dovecot/dovecot-sql-domain.conf
                  userdb:
                    driver: sql
                    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
                  userdb:
                    driver: sql
                    args: /etc/dovecot/dovecot-sql-subdomain.conf
                  socket:
                    type: listen
                    client:
                      path: /var/spool/postfix/private/auth
                      mode: 432
                      user: postfix
                      group: postfix
                    master:
                      path: /var/run/dovecot/auth-master
                      mode: 432
                      user: vmail
                      group: mail
                plugin:
                  sieve: ~/.dovecot.sieve
                  sieve_dir: ~/sieve
                  quota_warning: storage=95%% /etc/dovecot/dovecot-quota-warning.sh 95
                  quota_warning2: storage=80%% /etc/dovecot/dovecot-quota-warning.sh 80
                  quota: maildir:User quota
                  quota_rule: *:storage=1G
                Regards,
                BeNe
                Open-Xchange - Community Edition User

                Comment


                • #9
                  Hi,

                  there seems to be some misunderstanding. OX doesn't read the sieve file directly. There's a special protocol called Managesieve. With this protocol OX talks to the Sieve server in Dovecot. So OX doesn't read a file, OX only relies on the fact that Dovecot can read the file.
                  The same applies to the IMAP protocol, OX read no files there. The IMAP server (dovecot itself) reads the files. And the IMAP server complains about strange files.
                  This leads me to two questions:
                  1. How is the symlink created in this system
                  2. What is the home directory of the user bene on that system

                  Furthermore the configuration looks quite strange to me normally there should be brackets after "plugin" and "protocol managesieve", see the example config for 1.2 and the end of the page you mentioned.
                  So maybe dovecot reads another configuration than assumed.

                  Regards,

                  Dennis

                  Comment


                  • #10
                    Hi Dennis,

                    the Config post above was the ouput from "dovecot -n" and not real copy of the config.
                    I posted this output because of the current loaded modules.
                    Here is the dovecot.conf itself with correct brackets Sorry for that.
                    Code:
                    srv01:~# cat /etc/dovecot/dovecot.conf
                    base_dir = /var/run/dovecot/
                    disable_plaintext_auth = no
                    listen=*
                    auth_verbose = yes
                    
                    # DEBUG
                    #mail_debug=yes
                    #auth_debug_passwords=yes
                    #verbose_ssl=yes
                    
                    # Start imap, imaps, pop3 and managesieve services
                    protocols = imap pop3 imaps pop3s managesieve
                    
                    ssl = yes
                    #ssl_cert_file = /etc/ssl/certs/servername.crt
                    #ssl_key_file = /etc/ssl/certs/servername.key
                    
                    syslog_facility = mail
                    login_greeting = Dovecot ready.
                    mail_location = maildir:/var/mail/virtual/%Ld/%Ln
                    mail_access_groups = mail
                    
                    protocol imap {
                            mail_plugins = quota imap_quota
                            mail_max_userip_connections = 20
                    }
                    
                    namespace private {
                            prefix = INBOX.
                            inbox = yes
                    }
                    
                    protocol pop3 {
                            pop3_uidl_format = %u-%v
                            mail_plugins = quota
                    }
                    
                    protocol lda {
                            postmaster_address = postmaster@mydomain.tld
                            auth_socket_path = /var/run/dovecot/auth-master
                            mail_plugins = sieve quota
                    }
                    
                    protocol managesieve {
                            # Specify an alternative address:port the daemon must listen on
                            # (default: *:2000)
                            # listen = localhost:2000
                            listen = *:2000
                            managesieve_logout_format = bytes ( in=%i : out=%o )
                            mail_debug=yes
                    }
                    
                    plugin {
                            # Used by both the Sieve plugin and the ManageSieve protocol
                            sieve=~/.dovecot.sieve
                            sieve_dir=~/sieve
                    
                            # Quota Warnings
                            quota_warning = storage=95%% /etc/dovecot/dovecot-quota-warning.sh 95
                            quota_warning2 = storage=80%% /etc/dovecot/dovecot-quota-warning.sh 80
                    }
                    
                    
                    auth default {
                            mechanisms = plain login
                            passdb checkpassword {
                            args = /var/www/ispcp/engine/ispcp-dovecot-mngr
                    }
                    #userdb prefetch {
                    #}
                    
                    userdb sql {
                            args = /etc/dovecot/dovecot-sql-domain.conf
                    }
                    userdb sql {
                            args = /etc/dovecot/dovecot-sql-aliasdomain.conf
                    }
                    userdb sql {
                            args = /etc/dovecot/dovecot-sql-subdomain.conf
                    }
                    
                    socket listen {
                    client {
                            path = /var/spool/postfix/private/auth
                            mode = 0660
                            user = postfix
                            group = postfix
                    }
                    
                    master {
                            path = /var/run/dovecot/auth-master
                            mode = 0660
                            user = vmail
                            group = mail
                    }
                    
                    }
                            user = root
                    }
                    
                    plugin {
                            quota = maildir:User quota
                            quota_rule = *:storage=1G
                    }
                    To answer your questions.
                    1. How is the symlink created in this system
                    Dovecot does create the symlink!

                    This here is the part from the Dovecot Wiki:
                    sieve = ~/.dovecot.sieve

                    Specifies the location of the symbolic link pointing to the active script in the sieve storage directory. If a regular file exists at this location, it is moved to the sieve_storage location before the symbolic link is installed. It is renamed to dovecot.orig.sieve and therefore listed as dovecot.orig by a ManageSieve client. Just like any setting in the plugin section, '%' variable substitution is performed.
                    2. What is the home directory of the user bene on that system
                    "bene" is a virtual e-Mail User on the System (ispCP Omega).
                    Maildir Path -> /var/mail/virtual/mydomain.tld/bene

                    So maybe dovecot reads another configuration than assumed.
                    No.

                    Thanks!

                    Regards,
                    BeNe
                    Open-Xchange - Community Edition User

                    Comment


                    • #11
                      Hi,

                      2. What is the home directory of the user bene on that system
                      "bene" is a virtual e-Mail User on the System (ispCP Omega).
                      Maildir Path -> /var/mail/virtual/mydomain.tld/bene
                      this is the problem the mail directory can't be the home directory. This way the sieve symlink is created in the same directory as the mails which shouldn't. See http://wiki1.dovecot.org/VirtualUsers/Home for this "Home directory shouldn't be the same as mail directory. It's possible to do that, but you might run into trouble with it sooner or later. Some problems with this are:"

                      So you have to fix that in your setup and then everything should be fine.

                      Regards,

                      Dennis

                      Comment

                      Working...
                      X