Announcement

Collapse
No announcement yet.

Error in E-Mail Module???

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

  • Error in E-Mail Module???

    Error in E-Mail

    I would like to dispatch a E-Mail. If I click once on
    transmitting, the recipient gets three copies.

    The window does not close after the dispatch of the Mail. I must
    abort the process afterwards.

    Is the problem now at my Mailserver (i use Postfix/courier) or because of the ox-System?

  • #2
    Originally posted by Marky_bln View Post
    Error in E-Mail

    I would like to dispatch a E-Mail. If I click once on
    transmitting, the recipient gets three copies.

    The window does not close after the dispatch of the Mail. I must
    abort the process afterwards.

    Is the problem now at my Mailserver (i use Postfix/courier) or because of the ox-System?

    Yesterday I finished my mail setup for the VM and it works as expected.

    May be your mail server is a bit misconfigured. Did you have a look at the log files of the mailserver and OX?

    Comment


    • #3
      here is my ox-protocol

      Mar 26, 2007 1:51:06 PM com.openexchange.api2.MailInterfaceImpl sendMessage
      INFO: Message successfully sent ! ! ! (subject=test)
      Mar 26, 2007 1:51:06 PM com.openexchange.tools.ajp13.AJPv13Listener run
      SEVERE: AJP-0001 Category=7 Message=-1 exceptionID=-1714497555-35
      AJP-0001 Category=7 Message=-1 exceptionID=-1714497555-35
      at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:286)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
      at com.openexchange.groupware.imap.IMAPUtils$6.doComm and(IMAPUtils.java:747)
      at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMA PFolder.java:2377)
      at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder. java:2332)
      at com.openexchange.groupware.imap.IMAPUtils.getUIDNe xt(IMAPUtils.java:734)
      at com.openexchange.api2.MailInterfaceImpl.sendMessag e(MailInterfaceImpl.java:3029)
      at com.openexchange.ajax.Mail.action(Mail.java:2216)
      at com.openexchange.ajax.AJAXServlet.fireUploadEvent( AJAXServlet.java:857)
      at com.openexchange.ajax.Mail.doPost(Mail.java:2133)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
      at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:126)
      at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:84)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
      at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:94)
      at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:336)
      at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:170)
      at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:232)
      ... 1 more
      Mar 26, 2007 1:51:06 PM com.openexchange.sessiond.SessionHandler getSession
      FINE: getSession <016ecc5eee3b5dfafb61a2eb70cdcf92>
      Mar 26, 2007 1:51:06 PM com.openexchange.ajax.Mail doPost
      INFO: Incoming POST with multipart content.
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: MailcapCommandMap: createDataContentHandler for text/plain
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: got content-handler
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: class com.sun.mail.handlers.text_plain
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: MailcapCommandMap: createDataContentHandler for text/html
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: got content-handler
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: class com.sun.mail.handlers.text_html
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: MailcapCommandMap: createDataContentHandler for multipart/alternative
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #2
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search fallback DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: got content-handler
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: class com.sun.mail.handlers.multipart_mixed
      Mar 26, 2007 1:51:06 PM com.openexchange.api2.MailInterfaceImpl sendMessage
      INFO: Message successfully sent ! ! ! (subject=test)
      Mar 26, 2007 1:51:06 PM com.openexchange.tools.ajp13.AJPv13Listener run
      SEVERE: AJP-0001 Category=7 Message=-1 exceptionID=-1714497555-36
      AJP-0001 Category=7 Message=-1 exceptionID=-1714497555-36
      at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:286)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
      at com.openexchange.groupware.imap.IMAPUtils$6.doComm and(IMAPUtils.java:747)
      at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMA PFolder.java:2377)
      at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder. java:2332)
      at com.openexchange.groupware.imap.IMAPUtils.getUIDNe xt(IMAPUtils.java:734)
      at com.openexchange.api2.MailInterfaceImpl.sendMessag e(MailInterfaceImpl.java:3029)
      at com.openexchange.ajax.Mail.action(Mail.java:2216)
      at com.openexchange.ajax.AJAXServlet.fireUploadEvent( AJAXServlet.java:857)
      at com.openexchange.ajax.Mail.doPost(Mail.java:2133)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
      at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:126)
      at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:84)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
      at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:94)
      at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:336)
      at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:170)
      at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:232)
      ... 1 more
      Mar 26, 2007 1:51:06 PM com.openexchange.sessiond.SessionHandler getSession
      FINE: getSession <016ecc5eee3b5dfafb61a2eb70cdcf92>
      Mar 26, 2007 1:51:06 PM com.openexchange.ajax.Mail doPost
      INFO: Incoming POST with multipart content.
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: MailcapCommandMap: createDataContentHandler for text/plain
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: got content-handler
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: class com.sun.mail.handlers.text_plain
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: MailcapCommandMap: createDataContentHandler for text/html
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: got content-handler
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: class com.sun.mail.handlers.text_html
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: MailcapCommandMap: createDataContentHandler for multipart/alternative
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search DB #2
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: search fallback DB #1
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: got content-handler
      Mar 26, 2007 1:51:06 PM com.sun.activation.registries.LogSupport log
      FINE: class com.sun.mail.handlers.multipart_mixed
      Mar 26, 2007 1:51:06 PM com.openexchange.api2.MailInterfaceImpl sendMessage
      INFO: Message successfully sent ! ! ! (subject=test)
      Mar 26, 2007 1:51:06 PM com.openexchange.tools.ajp13.AJPv13Listener run
      SEVERE: AJP-0001 Category=7 Message=-1 exceptionID=-1714497555-37
      AJP-0001 Category=7 Message=-1 exceptionID=-1714497555-37
      at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:286)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
      at com.openexchange.groupware.imap.IMAPUtils$6.doComm and(IMAPUtils.java:747)
      at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMA PFolder.java:2377)
      at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder. java:2332)
      at com.openexchange.groupware.imap.IMAPUtils.getUIDNe xt(IMAPUtils.java:734)
      at com.openexchange.api2.MailInterfaceImpl.sendMessag e(MailInterfaceImpl.java:3029)
      at com.openexchange.ajax.Mail.action(Mail.java:2216)
      at com.openexchange.ajax.AJAXServlet.fireUploadEvent( AJAXServlet.java:857)
      at com.openexchange.ajax.Mail.doPost(Mail.java:2133)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
      at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:126)
      at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:84)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
      at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:94)
      at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:336)
      at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:170)
      at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:232)
      ... 1 more
      in the mail.log ist no error. the postfix recieved from ox tree mails and send
      this, but i send only one mail.

      Comment


      • #4
        Two things look interesting in this log:

        1) The IMAP module seems to get an exception for some reason.
        2) Apparently the server receives three distinct requests for sending the mail.

        Could you try to sniff the traffic between your browser and the server?

        Skip the next bit, if you're comfortable sniffing:
        I found wireshark helpful for this kind of sniffing. In the capture settings you'd just have to select your network card (presuming your browser runs on a different computer) and filter for traffic on port 80. Start the sniffing right before you hit the 'Send' button and stop it once the request is through (when the mail window closes sounds good )

        Next it'd probably be smart to open a bug in our bugzilla and attach the .pcap file.

        http://www.open-xchange.com/wiki/ind...ing_guidelines

        Comment

        Working...
        X