Am Samstag, den 27.05.2006, 23:53 +0200 schrieb Joachim Draeger: > At first I have to clarify there are issues with javamaildir-0.6.2. It > has problems in storing many mails per (milli)second. I am working on a > release of javamaildir fixing that and offering uid plus capabilities. > For those who are curios I could send an unofficial zip by private email. > Maybe the better way is to try to contact the author. OR like you said to create your own implementation under an asl friendly license. > Norman Maurer wrote: > > I just installed it an run a test. I get the follow execption: > > > > 27/05/06 20:46:00 INFO James.Mailet: Error while storing mail. > > java.lang.RuntimeException: Error in > > getUserInbox.org.apache.avalon.framework.se > > rvice.ServiceException: Cannot find or init repository (Key='') > > Mmmhh, that stacktrace doesn't contain any of the JavamailStore related > classes.
Yeah. And that is what confuse me. But maybe its a local change on the
james source i did here. Will make a clean checkout tomorrow and test
again
>
> > Have you test it with the current trunk ?
>
> I have to admit that I used the unit tests most of the time. But I just
> tried it with
>
> trunk, HashJavamailStoreMailRepository, javamaildir-0.6.2
> trunk, UIDPlusFolderMailRepository, modified javamaildir
> trunk, HashJavamailStoreMailRepository, modified javamaildir
>
> and had no issues except for that the postfix config attribute does not
> work.
>
> > I also noticed that it create
> > a dir on the wrong place
> > ("james-2.4-dev/apps/james/apps/james/var/derbydb). Maybe its a general
> > option.
>
> Where should it get that directory? But I noticed that some times a
> derby directory layout is created under dist/apps/james/var/derbydb. Do
> you think that is related to JavamailStoreMailrepository? I can't
> imagine how...
After a bit of thinking about i whould say no!
>
> Anyway. Could you please provide the excerpt for the corresponding
> <James><inboxRepository> and <mailstore><repositories><repository
> class=... section from config.xml
>
> Also putting
> <category name="mailstore" log-level="DEBUG">
> <log-target id-ref="mailstore-target"/>
> </category>
> in enviroment.xml would help. There should be verbose logging in
> mailstore-x.log.
Your right.
>
> Another important question is, where did you put the javamaildir.jar? At
> the moment I create a jar from JavamailStoreMailrepository files and
> inject it together with the javamaildir.jar directly into the james.sar
> file in the SAR-INF/lib directory. To be honest, I don't know what would
> be the correct way. Maybe modifying the build.xml. Any hints?
>
> Joachim
I put the javmaildir.jar in lib/ and move your other classes directly to
james src. After that i build james. Maybe i should try it again on a
clean checkout. Maybe i forget to revert some changes i made, cause im
working on a few things by now (RCPT fastfail and GreyListing). I will
test it again tomorrow. To lazy now ;-)
bye
Norman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
