Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2009
    Posts
    24

    Default canīt see imap folder | canīt create folder

    Hi,
    after installing the ox-server on Ubuntu8.04, allmost everything is working, except one point:
    Iīve created an user with the create-user command, also including the parameter:
    --imaplogin testuser --imapserver imap.server.de --smtpserver smtp.server.de
    [sure, i inserted here the correct domain-name]

    after login into ox, I can see my mails in the inbox, but I canīt see the folder-structure, which is on the ext.imap-server.
    I also get 2 errors:
    1) the message of mail-filter --> I switched the mailfilter.properties off
    2) parse error --> no idea about that:

    below the open-xchange.log.0:

    Mar 26, 2009 3:11:13 PM com.openexchange.sessiond.impl.SessionHandler addSession
    INFO: Session created. ID: ea24aba7432e480597a30bbc1823f787, Context: 1, User: 3
    Mar 26, 2009 3:11:17 PM com.openexchange.ajax.Folder actionGetSubfolders
    SEVERE: MSG-1023 Category=8 Message=Messaging error: parse error in STATUS exceptionID=1037489850-70
    MSG-1023 Category=8 Message=Messaging error: parse error in STATUS exceptionID=1037489850-70
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:438)
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:296)
    at com.openexchange.imap.converters.IMAPFolderConvert er.convertFolder(IMAPFolderConverter.java:379)
    at com.openexchange.imap.IMAPFolderStorage.getSubfold ers(IMAPFolderStorage.java:266)
    at com.openexchange.mail.MailServletInterfaceImpl.get ChildFolders(MailServletInterfaceImpl.java:358)
    at com.openexchange.ajax.Folder.actionGetSubfolders(F older.java:844)
    at com.openexchange.ajax.Folder.actionGetSubfolders(F older.java:358)
    at com.openexchange.ajax.Folder.actionGet(Folder.java :225)
    at com.openexchange.ajax.Folder.doGet(Folder.java:178 )
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:596)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:380)
    at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:149)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.doServletService(AJPv13RequestHandlerImpl.java: 429)
    at com.openexchange.ajp13.AJPv13Request.response(AJPv 13Request.java:128)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.createResponse(AJPv13RequestHandlerImpl.java:28 2)
    at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.c reateResponse(AJPv13ConnectionImpl.java:189)
    at com.openexchange.ajp13.najp.AJPv13Task.run(AJPv13T ask.java:300)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:417)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.mail.MessagingException: parse error in STATUS;
    nested exception is:
    com.sun.mail.iap.ParsingException: parse error in STATUS
    at com.sun.mail.imap.IMAPFolder.getMessageCount(IMAPF older.java:1206)
    at com.openexchange.imap.converters.IMAPFolderConvert er.convertFolder(IMAPFolderConverter.java:340)
    ... 21 more
    Caused by: com.sun.mail.iap.ParsingException: parse error in STATUS
    at com.sun.mail.imap.protocol.Status.<init>(Status.ja va:62)
    at com.sun.mail.imap.protocol.IMAPProtocol.status(IMA PProtocol.java:726)
    at com.sun.mail.imap.IMAPFolder.getStatus(IMAPFolder. java:1359)
    at com.sun.mail.imap.IMAPFolder.getMessageCount(IMAPF older.java:1185)
    ... 22 more


    Any idea?

    thanx mardoc

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi Mardoc,

    what IMAP Server are you using? mbox or maildir configuration?

    Greetings

  3. #3
    Join Date
    Mar 2009
    Posts
    24

    Default

    Hi Martin,
    i only know the imap server and the ports.
    the server is hosted by strato.de

    letīs give it a try. what has to be changed by those two types?

    -mardoc

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    well i guess the handling of the strato imap server needs to be debugged in detail, i'll take a look at it. I don't believe strato uses mbox, but if you want to enable mbox support please set:

    /opt/open-xchange/etc/groupware/imap.properties:

    com.openexchange.imap.mboxEnabled=true

    Greetings

  5. #5
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    i think we found the problem, it is caused by an non-rfc conform response to the STATUS command. RFC 3501 says:

    7.2.4 STATUS Response
    Contents: name
    status parenthesized list

    The STATUS response occurs as a result of an STATUS command. It
    returns the mailbox name that matches the STATUS specification and
    the requested mailbox status information.

    Example: S: * STATUS blurdybloop (MESSAGES 231 UIDNEXT 44292)

    We looked at the mail api code and the class com.sun.mail.imap.protocol.Status.java explicitly looks for a "(" as the beginning of all STATUS information. Obviously, the strato imap server does not use a "(".

    For further investigation and a possible fix, we need the exact response to the STATUS command. If possible, please use telnet to find out what the server responds:

    telnet imap.strato.de 143
    01 LOGIN user password
    02 STATUS INBOX (UIDNEXT MESSAGES)
    -> please post this response

    Greetings

  6. #6
    Join Date
    Mar 2009
    Posts
    24

    Default

    Hi,
    here the response:

    01 OK LOGIN completed [5]
    02 STATUS INBOX (UIDNEXT MESSAGES)
    * STATUS INBOX (MESSAGES 7 UIDNEXT 59)
    02 OK STATUS completed

    -mardoc

  7. #7
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Mhh okay, so it seems the response on a simple STATUS request is correct. Could you please sniff the network traffic from OX<->Strato on Port 143 when logging in? Don't forget to wipe your user/password before posting

    Thanks again

  8. #8
    Join Date
    Mar 2009
    Posts
    24

    Default

    Hi,
    I guess, the issue is somewhere else located:
    I did a try with zimbra, where the imap-account is created with:
    imap-server: imap.strato.de
    user: name@domain.de
    passwd: passwd of account

    I could see all my mails in inbox but also the folders.

    in case of OX, I guess the issue is, because the login-name in OX is not the login-name in imap-server. I tried to change my user to have the login-name equal to the user-name of imap-server, which is the mail-address. it was possible to create this user via CLI, but I couldnīt login into OX (--> msg: user or password is wrong).

    I guess, the issue is located somewhere:
    -u username & --imaplogin name@domain.de

    -mardoc

  9. #9
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    --imaplogin is the username we send to the IMAP Server and is exactly used for the problem you describe. The OX username does not need to be equal to the IMAP user, only the password needs to be equal. And the STATUS command is only triggered _after_ the user has logged in. It could be that Zimbra has added some workaround that OX does not yet have.

  10. #10
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    46

    Default

    hi mardoc,

    did u solve ur problem?

    i am having exactly the same problem.

    greetings

    kniggisiggi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •