[ 
http://issues.apache.org/jira/browse/JAMES-607?page=comments#action_12432382 ] 
            
Norman Maurer commented on JAMES-607:
-------------------------------------

Stefano point out that we don't need this class anymore after i did the work 
;-P 

We can simply use the javamailstore which joachim develop and use mstor as 
javamailstore provider.

Here is what you have todo to get it work:

1. Get the javamailstore-mailrepository-5.jar from 
http://issues.apache.org/jira/browse/JAMES-461 and place it to 
/path/to/james/apps/james/SAR-INF/lib/ 

2. Change the mbox config to:
      <inboxRepository>
         <repository destinationURL="mstor://var/mail/" postfix="/" 
type="MAIL"/>
      </inboxRepository>

         <repository 
class="org.apache.james.mailrepository.javamail.HashJavamailStoreMailRepository">
            <protocols>
               <protocol>mstor</protocol>
            </protocols>
            <types>
               <type>MAIL</type>
            </types>
         </repository>


Thats all. I whould be +1 to include joachims work finally to james trunk





> Rewrite MBoxMailRepository to use mstor
> ---------------------------------------
>
>                 Key: JAMES-607
>                 URL: http://issues.apache.org/jira/browse/JAMES-607
>             Project: James
>          Issue Type: Improvement
>          Components: MailStore & MailRepository
>            Reporter: Norman Maurer
>         Assigned To: Norman Maurer
>             Fix For: 3.0
>
>         Attachments: mbox.diff
>
>
> MBoxMailRepository should be rewritten to use mstor. Mstor provide a clean 
> way to access mbox files etc

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to