Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-467

corrupt messages in james trunk



    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • None
    • 2.3.0
    • None
    • None


      After upgrading i get some very strange problems.. When sending email with telnet for example the email goes straight to deadletter table... it looks like:

      Mail1143972862978-28 error error NULL nm@test.de nm@spam-box.de localhost Return-Path: null
      Received: from ([])
      by mail.guden.ath.cx (JAMES SMTP Server 2.3-dev) with SMTP ID 835
      for <nm@spam-box.de>;
      Sun, 2 Apr 2006 12:14:22 +0200 (CEST)
      Date: Sun, 2 Apr 2006 12:14:22 +0200 (CEST)
      ’ 2006-04-02 12:14:22

      1 row in set (0.00 sec)

      It seems that it corrupt the headers... I notice some very strange problems to with "real" email.. The Headers seems to get corrupt there too..

      Here is the MessageCode i can see:

      Return-Path: <server-dev-return-15793-nm=spam-box.de@james.apache.org>
      Delivered-To: nm@spam-box.de
      Received: (qmail 15318 invoked by uid 89); 1 Apr 2006 22:14:35 -0000
      Received: from localhost (HELO mail.guden.ath.cx) ( by
      guden.ath.cx with SMTP; 1 Apr 2006 22:14:35 -0000
      Return-Path: null
      java.sql.SQLException: Error reading from InputStream java.io.IOException
      in current trunk
      Content-Transfer-Encoding: 7bit
      Content-Type: text/plain; charset=us-ascii
      MIME-Version: 1.0
      Message-ID: <22807116.1143929675568.JavaMail.root@Fileserver>
      X-Evolution-Source: imap://nm%40spam-box.de@guden.ath.cx/
      Date: Sun, 02 Apr 2006 12:23:50 +0200
      Subject: No Subject

      Key: JAMES-466
      URL: http://issues.apache.org/jira/browse/JAMES-466
      Project: James
      Type: Bug
      Environment: java 1.5, mysql-connector-java-3.0.17-ga-bin.jar
      Reporter: Norman Maurer

      After upgrading to latest trunk i notice this exception about 8 times today:

      01/04/06 21:52:53 ERROR spoolmanager: Exception in processor <transport>
      javax.mail.MessagingException: Exception caught while storing mail Container: ;
      nested exception is:
      java.sql.SQLException: Error reading from InputStream java.io.IOException
      at org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.java:755)
      at org.apache.james.mailrepository.JDBCSpoolRepository.store(JDBCSpoolRepository.java:236)
      at org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.java:1001)
      at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:414)
      at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397)
      at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306)
      at java.lang.Thread.run(Thread.java:595)
      01/04/06 21:52:53 ERROR spoolmanager: An error occurred processing Mail1143921172623-45 through transport
      01/04/06 21:52:53 ERROR spoolmanager: Result was error

      Whats the Problem ? Should i upgrade the mysql-connector ?

      This message is automatically generated by JIRA.
      If you think it was sent incorrectly contact one of the administrators:
      For more information on JIRA, see:

      To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
      For additional commands, e-mail: server-dev-help@james.apache.org

      Like you see the From is empty and the Subject is insert in the wrong line..




            bago Stefano Bagnara
            norman Norman Maurer
            0 Vote for this issue
            0 Start watching this issue