Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    steff Guest

    Exclamation Error Mail Module - Unsupported type MSG-0020

    Hello,

    we did set up an ox server and everything seems to work fine.
    Now we do try to use our existing uw-imap server to get the
    e-mail module running.
    We can log on to the ox-server (via mysql logon) but
    unfortunately, we do get the following error message in the email module
    when trying to select or work with the module:

    Fehlermeldung: Interner Fehler: Unsupported type (MSG-0020,-590415357-16)


    Could you tell me what that message means? i.e. what type does the mail module expect.
    Please let me know as soon as possible as I need to know if there is a chance to get it running or not.


    Thanks a lot
    steff

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

    Default

    Hi Steff,

    This error message is quite unusable, sorry for that. Could you please check/sniff if there is any traffic on the network between the ox server and the imapd? Maybe it's just an authentification problem or stuff like that.

  3. #3
    steff Guest

    Default

    Hi Martin,

    the uw imap server is on another machine.
    there are the following messages in the /var/log/mail file of the imap-server:

    Jun 28 09:57:14 serv25 imapd[29182]: imap service init from XXX.XXX.XX.XXX
    Jun 28 09:57:14 serv25 imapd[29183]: imap service init from XXX.XXX.XX.XXX
    Jun 28 09:57:14 serv25 imapd[29182]: Authenticated user=clm host=myhost.something.de [XXX.XXX.XX.XXX]
    Jun 28 09:57:14 serv25 imapd[29182]: Logout user=clm host=myhost.something.de [XXX.XXX.XX.XXX]
    Jun 28 09:57:14 serv25 imapd[29183]: Authenticated user=clm host=myhost.something.de [XXX.XXX.XX.XXX]
    Jun 28 09:57:23 serv25 imapd[29183]: Logout user=clm host=myhost.something.de [XXX.XXX.XX.XXX]

    Inserting a false password does result in:
    Jun 28 09:56:12 serv25 imapd[29153]: imap service init from XXX.XXX.XX.XXX
    Jun 28 09:56:15 serv25 imapd[29153]: AUTHENTICATE LOGIN failure host=myhost.something.de [XXX.XXX.XX.XXX]
    Jun 28 09:56:15 serv25 imapd[29153]: Command stream end of file, while reading line user=??? host=myhost.something.de [XXX.XXX.XX.XXX]

    So, I would say that the authentification works but it I do have the impression that the 2 system do not communicate on the same level. Do I have the chance to see something more in other log files?
    And what happens next (after authentification) in the ox mail module?

    steff

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

    Default

    Well, to get more information you may capture the network traffic which is transfered between the two hosts. You may use tools like ngrep or wireshark for this. Another way may be setting the loglevel of the mailserver to a verbose value. This can also be done at the OX logging to see what's going on here. These logging configuration can be found at /opt/open-xchange/etc/groupware/

    Roughly said, the OX Mail module works like a ordinary IMAP Client which communicates with the IMAP Server to exchange E-Mail and Folders.

  5. #5
    steff Guest

    Default

    Hi Martin,

    this is the output from the open-xchange-console.log :
    A0 CAPABILITY
    * CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS AUTH=LOGIN
    A0 OK CAPABILITY completed
    IMAP DEBUG: AUTH: LOGIN
    DEBUG: protocolConnect login, host=XXX.XXX.XXX.XXX, user=clm, password=<non-null>
    A1 AUTHENTICATE LOGIN
    * LIST (\NoInferiors \UnMarked) "/" Drafts
    A15 OK LIST completed
    A16 LSUB "" Drafts
    + VCfGTDBOYW1lAA==
    Y2xt
    * LSUB () "/" Drafts
    A16 OK LSUB completed
    + UGFzc58dcmQA
    A17 LIST "" Sent
    MWVrbHZjd8mVIZXhl
    * LIST (\NoInferiors \Marked) "/" Sent
    A17 OK LIST completed
    A18 LSUB "" Sent
    * LSUB () "/" Sent
    A18 OK LSUB completed
    A19 LIST "" Werbung
    A1 OK [CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User clm authenticated
    A19 OK LIST completed
    A20 CREATE Werbung
    A20 OK CREATE completed
    A21 LIST "" Werbung
    * LIST (\NoInferiors \UnMarked) "/" Werbung
    A21 OK LIST completed
    A22 DELETE Werbung
    A22 OK DELETE completed
    IMAP DEBUG: IMAPProtocol noop
    A23 NOOP
    A2 LIST "" INBOX
    A23 OK NOOP completed
    * LIST (\NoInferiors) NIL INBOX
    A2 OK LIST completed
    A3 LIST "" Drafts
    IMAP DEBUG: IMAPProtocol noop
    A24 NOOP
    A24 OK NOOP completed
    * LIST (\NoInferiors \UnMarked) "/" Drafts
    A3 OK LIST completed
    IMAP DEBUG: IMAPProtocol noop
    A25 NOOP
    A4 LSUB "" Drafts
    A25 OK NOOP completed
    * LSUB () "/" Drafts
    A4 OK LSUB completed
    A5 LIST "" Sent
    * LIST (\NoInferiors \Marked) "/" Sent
    A5 OK LIST completed
    A6 LSUB "" Sent
    * LSUB () "/" Sent
    A6 OK LSUB completed
    A7 LIST "" Werbung
    A7 OK LIST completed
    A8 CREATE Werbung
    A8 OK CREATE completed
    A9 LIST "" Werbung
    * LIST (\NoInferiors \UnMarked) "/" Werbung
    A9 OK LIST completed
    A10 DELETE Werbung
    A10 OK DELETE completed
    A26 LIST "" INBOX
    A11 LOGOUT
    * LIST (\NoInferiors) NIL INBOX
    A26 OK LIST completed
    A27 LIST "" Drafts
    * BYE XXX.xx.XXXXXX.de IMAP4rev1 server terminating connection
    A11 OK LOGOUT completed
    DEBUG: IMAPStore connection dead
    DEBUG: IMAPStore cleanup, force false
    DEBUG: IMAPStore cleanup done
    * LIST (\NoInferiors \UnMarked) "/" Drafts
    A27 OK LIST completed
    A28 LSUB "" Drafts
    * LSUB () "/" Drafts
    A28 OK LSUB completed
    A29 LIST "" Sent
    * LIST (\NoInferiors \Marked) "/" Sent
    A29 OK LIST completed
    A30 LSUB "" Sent
    * LSUB () "/" Sent
    A30 OK LSUB completed
    A31 LIST "" Werbung
    A31 OK LIST completed
    A32 CREATE Werbung
    A32 OK CREATE completed
    A33 LIST "" Werbung
    * LIST (\NoInferiors \UnMarked) "/" Werbung
    A33 OK LIST completed
    A34 DELETE Werbung
    A34 OK DELETE completed
    IMAP DEBUG: IMAPProtocol noop
    A35 NOOP
    A35 OK NOOP completed
    IMAP DEBUG: IMAPProtocol noop
    A36 NOOP
    A36 OK NOOP completed
    IMAP DEBUG: IMAPProtocol noop
    A37 NOOP
    A37 OK NOOP completed
    A38 LIST "" INBOX
    * LIST (\NoInferiors) NIL INBOX
    A38 OK LIST completed
    A39 LIST "" Drafts
    * LIST (\NoInferiors \UnMarked) "/" Drafts
    A39 OK LIST completed
    A40 LSUB "" Drafts
    * LSUB () "/" Drafts
    A40 OK LSUB completed
    A41 LIST "" Sent
    * LIST (\NoInferiors \Marked) "/" Sent
    A41 OK LIST completed
    A42 LSUB "" Sent
    * LSUB () "/" Sent
    A42 OK LSUB completed
    A43 LIST "" Werbung
    A43 OK LIST completed
    A44 CREATE Werbung
    A44 OK CREATE completed
    A45 LIST "" Werbung
    * LIST (\NoInferiors \UnMarked) "/" Werbung
    A45 OK LIST completed
    A46 DELETE Werbung
    A46 OK DELETE completed
    IMAP DEBUG: IMAPProtocol noop
    A47 NOOP
    A47 OK NOOP completed
    IMAP DEBUG: IMAPProtocol noop
    A48 NOOP
    A48 OK NOOP completed
    IMAP DEBUG: IMAPProtocol noop
    A49 NOOP
    A49 OK NOOP completed
    A50 LIST "" INBOX
    * LIST (\NoInferiors) NIL INBOX
    A50 OK LIST completed
    A51 LIST "" Drafts
    * LIST (\NoInferiors \UnMarked) "/" Drafts
    A51 OK LIST completed
    A52 LSUB "" Drafts
    * LSUB () "/" Drafts
    A52 OK LSUB completed
    A53 LIST "" Sent
    * LIST (\NoInferiors \Marked) "/" Sent
    A53 OK LIST completed
    A54 LSUB "" Sent
    * LSUB () "/" Sent
    A54 OK LSUB completed
    A55 LIST "" Werbung
    A55 OK LIST completed
    A56 CREATE Werbung
    A56 OK CREATE completed
    A57 LIST "" Werbung
    * LIST (\NoInferiors \UnMarked) "/" Werbung
    A57 OK LIST completed
    A58 DELETE Werbung
    A58 OK DELETE completed
    IMAP DEBUG: IMAPProtocol noop
    A59 NOOP
    A59 OK NOOP completed
    IMAP DEBUG: IMAPProtocol noop
    A60 NOOP
    A60 OK NOOP completed
    IMAP DEBUG: IMAPProtocol noop
    A61 NOOP
    A61 OK NOOP completed
    A62 LIST "" INBOX
    * LIST (\NoInferiors) NIL INBOX
    A62 OK LIST completed
    A63 LIST "" Drafts
    * LIST (\NoInferiors \UnMarked) "/" Drafts
    A63 OK LIST completed
    A64 LSUB "" Drafts
    * LSUB () "/" Drafts
    A64 OK LSUB completed
    A65 LIST "" Sent
    * LIST (\NoInferiors \Marked) "/" Sent
    A65 OK LIST completed
    A66 LSUB "" Sent
    * LSUB () "/" Sent
    A66 OK LSUB completed
    A67 LIST "" Werbung
    A67 OK LIST completed
    A68 CREATE Werbung
    A68 OK CREATE completed
    A69 LIST "" Werbung
    * LIST (\NoInferiors \UnMarked) "/" Werbung
    A69 OK LIST completed
    A70 DELETE Werbung
    A70 OK DELETE completed
    IMAP DEBUG: IMAPProtocol noop
    A71 NOOP
    A71 OK NOOP completed
    A72 LOGOUT
    * BYE XXX.XXXX.XXXX.de IMAP4rev1 server terminating connection
    A72 OK LOGOUT completed
    DEBUG: IMAPStore connection dead
    DEBUG: IMAPStore cleanup, force false
    DEBUG: IMAPStore cleanup done

    However, I do still get the same error message.
    From the log-file i do get the impression that it does not find the INBOX.
    The problem is also that all the folders are normally not in the
    HOME-dir /home/clm but under /home/clm/Mailfolder .
    Is there a chance to pass this path, as well as the namespaces "#mh/","#mhinbox" to the mail-module?
    Last edited by steff; 07-11-2007 at 11:20 AM.

  6. #6
    steff Guest

    Default

    Hi,

    somebody listening? Or is this really a problem that can't be solved???

  7. #7
    Join Date
    Feb 2007
    Posts
    22

    Default

    Unfortunately I have got a similar problem for quite some time now. I get timeouts all over the place for my users.
    from the open-xchange-console.log:
    Code:
    A13 OK Completed (0.000 secs 1 calls)
    A14 SELECT INBOX
    DEBUG: IMAPStore connection dead
    DEBUG: IMAPStore cleanup, force true
    DEBUG: IMAPStore cleanup done
    Ox gives a javamail exception, READ TIMEOUT
    Any help would be greatly appreciated
    Cheers

    Michael

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

    Default

    Well, OX requests a LIST command at a folder and the IMAP server dies, therefor the read timeout exception is quite logical.

    A27 LIST "" Drafts
    * BYE XXX.xx.XXXXXX.de IMAP4rev1 server terminating connection
    A11 OK LOGOUT completed
    DEBUG: IMAPStore connection dead
    DEBUG: IMAPStore cleanup, force false
    DEBUG: IMAPStore cleanup done

    the BYE response should also be logged at the IMAP Servers logfile.. any evidence?

    Greetings
    Last edited by Martin Heiland; 05-11-2008 at 01:27 PM.

  9. #9
    Join Date
    Feb 2007
    Posts
    22

    Default

    Thank you for the reply.
    Unfortunately, I cannot find the BYE when I get the JAVA exception. It is not in the ox log file or in the mail logs (mail.log). When it is working, I find the BYE statement in the OX log.
    Could that be the reason for the timeouts? The odd thing is that this comes and goes, so it is not reproducible.

    Cheers
    MCS

  10. #10
    Join Date
    Feb 2007
    Posts
    22

    Unhappy timeouts

    Hi all,

    still fighting timeouts, but I got new errors:
    Code:
    java.sql.SQLException
    MESSAGE: Access denied for user 'openexchange'@'localhost' (using password: YES)
    
    STACKTRACE:
    
    java.sql.SQLException: Access denied for user 'openexchange'@'localhost' (using password: YES)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:798)
    	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3700)
    	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1203)
    	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2693)
    	at com.mysql.jdbc.Connection.(Connection.java:1485)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    	at java.sql.DriverManager.getConnection(DriverManager.java:525)
    	at java.sql.DriverManager.getConnection(DriverManager.java:140)
    	at com.openexchange.database.ConnectionPool$ConnectionLifecycle.create(ConnectionPool.java:210)
    	at com.openexchange.database.ConnectionPool$ConnectionLifecycle.create(ConnectionPool.java:151)
    	at com.openexchange.pooling.ReentrantLockPool.get(ReentrantLockPool.java:379)
    	at com.openexchange.database.Database.get(Database.java:116)
    	at com.openexchange.database.Server.loadServerId(Server.java:135)
    	at com.openexchange.database.Server.getServerId(Server.java:97)
    	at com.openexchange.database.DatabaseInit.init(DatabaseInit.java:85)
    	at Starter.(Starter.java:146)
    	at ComfireServer.main(ComfireServer.java:62)
    
    
    ** END NESTED EXCEPTION **
    root has not got a password in mysql.
    If I type :
    Code:
    mysql -uroot
    I do not need a password.

    Thank you for all the help and any ideas are very much appreciated. This is happening on a VPS root server, I already contacted the VPS people but they could not find anything. Then, they say we have no idea about openexchange
    Cheers

    Michael

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
  •