[ 
https://issues.apache.org/jira/browse/JAMES-853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624277#action_12624277
 ] 

Stefano Bagnara commented on JAMES-853:
---------------------------------------

dbfile are not expected to work as SpoolRepository.

Look here:
http://james.apache.org/server/2.3.1/repositories.html

---------------------------
DBFile Repositories

This is a special repository type used only for mail repositories. DBFile 
repositories store the body of a mail message in the file system, while headers 
are stored in the database. This allows the administrator to minimize the size 
of data stored in the database, while conserving most of the performance of the 
database repository.

Only mail repositories have dbfile-based implementations.
----------------------------

The last line tells that only mail repositories have dbfile based 
implementation.
I guess the issue you see is because of this.

> Server sends Mail without body while using gateway configuration  for the 
> RemoteDelivery Mailet 
> ------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-853
>                 URL: https://issues.apache.org/jira/browse/JAMES-853
>             Project: James
>          Issue Type: Bug
>          Components: Remote Delivery
>    Affects Versions: 2.3.1
>         Environment: Linux Fedora java jre 1.6.0_07
>            Reporter: Sandra Grehl
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to