James Server
  1. James Server
  2. JAMES-853

Server sends Mail without body while using gateway configuration for the RemoteDelivery Mailet

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.1
    • Component/s: Remote Delivery
    • Labels:
      None
    • Environment:
      Linux Fedora java jre 1.6.0_07

      Description

      James throws the following Exception if I use the Gateway configuration for the RemoteDelivery Mailet with spoolrepository as dbfile.
      The Server sends the mails without Body.
      Other configurations e.g. file or db work.

      WARN mailstore: Exception caught while retrieving a stream
      java.io.FileNotFoundException: ...apps/james/var/dbmail/4D61696C313231393234383132383837362D30.Repository.FileStreamStore (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at java.io.FileInputStream.<init>(FileInputStream.java:66)
      at org.apache.james.mailrepository.filepair.AbstractFileRepository.getInputStream(AbstractFileRepository.java:262)
      at org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository.get(File_Persistent_Stream_Repository.java:51)
      at org.apache.james.mailrepository.MimeMessageJDBCSource.getInputStream(MimeMessageJDBCSource.java:157)
      at org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:266)
      at org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:250)
      at org.apache.james.core.MimeMessageCopyOnWriteProxy.writeTo(MimeMessageCopyOnWriteProxy.java:184)
      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:585)
      at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:563)
      at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1155)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Stefano Bagnara
            Reporter:
            Sandra Grehl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development