On Feb 2, 2008 10:36 AM, Robert Burrell Donkin
<[EMAIL PROTECTED]> wrote:
> On Jan 31, 2008 8:51 PM, Bernd Fondermann <[EMAIL PROTECTED]> wrote:
> > Jukka Zitting wrote:

<snip>

> > > I was trying to build the current James server trunk and set it up as
> > > a simple dependency that I could just start with minimal configuration
> > > within a webapp to listen for incoming SMTP connections. I'd then feed
> > > the incoming messages to a JCR repository using the james-jcr
> > > component. Unfortunately I didn't get too far along those lines. Any
> > > pointers on how to best do this? (Preferably with Maven 2... :-)
>
> i think that there are probably two separate questions here
>
> the first is how to create a deployment which includes JCR. bernd
> covers this well below. i'll talk about the second in another mail.

AIUI (hopefully people will jump in and correct me)

SMTP accepts incoming mail and spools it onto the processing queue.
mail on this queue is processed by none, one or more mailets as
specified in the configuration. mailets perform the actual processing
including directing mail to storage.

in a conventional SMTP configuration, LocalDelivery mailet is used to
deliver incoming mail to the INBOX of the user for which it's
intended. so, the mail repository that the mail is delivered to is set
by the James configuration (in james-config.xml). so, to deliver to a
JCR repository, a repository needs to be added to the repositories
configuration and the inboxRepository set to that.

(maybe it would be quicker and easier for me to copy james-jcr into
trunk and just create an example configuration)

- robert

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

Reply via email to