You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Jukka Zitting <ju...@gmail.com> on 2008/09/11 18:50:35 UTC

JCR email archive in action

Hi,

Some months ago I mentioned that at Day we are working on building an
email archive using a JCR content repository and the related email
code I wrote last year. The resulting searchable mail archive is now
live at http://dev.day.com/discussion-groups/.

So far we're only using the JCR storage bean without the rest of
James, but it would be cool if I could create a single application
that combines James, Jackrabbit and Sling (on which the web interface
is built) to implement a standalone email archive with an embedded
SMTP processor for handling incoming messages. Last time I tried I
couldn't find a simple way to start just the SMTP pipeline of James.
Unfortunately I haven't had much time to keep up on the efforts to
modularize James, so I don't know the current status on that, but it
seems like things are moving to the right direction.

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Thu, Sep 11, 2008 at 5:50 PM, Jukka Zitting <ju...@gmail.com> wrote:
> Hi,
>
> Some months ago I mentioned that at Day we are working on building an
> email archive using a JCR content repository and the related email
> code I wrote last year. The resulting searchable mail archive is now
> live at http://dev.day.com/discussion-groups/.

cool :-)

the timing's good - we made a lot of progress and we should be able to
start doing some interesting stuff during the next year. i'm very
interested in total information management. i would like to mix all
manner of MIME-typed mail, not just RFC822 but atom etc.

> So far we're only using the JCR storage bean without the rest of
> James, but it would be cool if I could create a single application
> that combines James, Jackrabbit and Sling (on which the web interface
> is built) to implement a standalone email archive with an embedded
> SMTP processor for handling incoming messages. Last time I tried I
> couldn't find a simple way to start just the SMTP pipeline of James.
> Unfortunately I haven't had much time to keep up on the efforts to
> modularize James, so I don't know the current status on that, but it
> seems like things are moving to the right direction.

the spring deployment is now working so that might well be the best approach.

the IMAP protocol library has been separated complete from trunk but
the SMTP protocol library hasn't been moved out yet but for internet
(rather than intranet) usage, you'd probably want to use the avalon
sockets which ship with james server anyway.

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Mon, Sep 15, 2008 at 8:27 PM, paksegu <pa...@yahoo.com> wrote:
> yes something suitable for internet operation, thanks

unfortunately, fully functioned email is heavyweight. it should be
possible to use the spring-deployment to run james within a
spring-enabled web application but james will create it's own thread
pools, use it's own socket libraries, etc.

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Sep 16, 2008 at 10:17 AM, Stefano Bagnara <ap...@bago.org> wrote:
> Jukka Zitting ha scritto:
>>
>> Hi,
>>
>> On Sat, Sep 13, 2008 at 9:47 AM, Robert Burrell Donkin
>> <ro...@gmail.com> wrote:
>>>
>>> or are you more interested in a more modest library suitable for
>>> intranet use that simply manages the basic protocol, with the user
>>> supplying the socket work (using eg servlet) and message processing?
>>
>> This is pretty much my use case, I just need something that takes an
>> incoming SMTP connection and gives me the message (plus the envelope)
>> that was received. I wouldn't mind the library taking care of all the
>> connection management stuff (setting up a server socket and related
>> machinery), but I don't need any mail queues, outgoing deliveries,
>> etc.
>>
>> The deployment scenario I have in mind is where such an archive server
>> sits behind a more feature-rich email gateway that handles things like
>> spam and virus protection before forwarding incoming messages to the
>> archive server.

james can handle all that but it needs a complete installation with
threading and serious sockets

> It should be not so difficult to take JAMES smtpserver code for this.

i'm probably going to be playing around with the packaging this
weekend. i might be able to create a sample or something.

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by Stefano Bagnara <ap...@bago.org>.
Jukka Zitting ha scritto:
> Hi,
> 
> On Sat, Sep 13, 2008 at 9:47 AM, Robert Burrell Donkin
> <ro...@gmail.com> wrote:
>> or are you more interested in a more modest library suitable for
>> intranet use that simply manages the basic protocol, with the user
>> supplying the socket work (using eg servlet) and message processing?
> 
> This is pretty much my use case, I just need something that takes an
> incoming SMTP connection and gives me the message (plus the envelope)
> that was received. I wouldn't mind the library taking care of all the
> connection management stuff (setting up a server socket and related
> machinery), but I don't need any mail queues, outgoing deliveries,
> etc.
> 
> The deployment scenario I have in mind is where such an archive server
> sits behind a more feature-rich email gateway that handles things like
> spam and virus protection before forwarding incoming messages to the
> archive server.

It should be not so difficult to take JAMES smtpserver code for this.
Otherwise http://subethasmtp.tigris.org/ is a current option.

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Sat, Sep 13, 2008 at 9:47 AM, Robert Burrell Donkin
<ro...@gmail.com> wrote:
> or are you more interested in a more modest library suitable for
> intranet use that simply manages the basic protocol, with the user
> supplying the socket work (using eg servlet) and message processing?

This is pretty much my use case, I just need something that takes an
incoming SMTP connection and gives me the message (plus the envelope)
that was received. I wouldn't mind the library taking care of all the
connection management stuff (setting up a server socket and related
machinery), but I don't need any mail queues, outgoing deliveries,
etc.

The deployment scenario I have in mind is where such an archive server
sits behind a more feature-rich email gateway that handles things like
spam and virus protection before forwarding incoming messages to the
archive server.

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by paksegu <pa...@yahoo.com>.
yes something suitable for internet operation, thanks
 
 


Ransford Segu-Baffoe

paksegu@yahoo.com

https://serenade.dev.java.net/
http://www.noqmx.com/

--- On Sat, 9/13/08, Robert Burrell Donkin <ro...@gmail.com> wrote:

From: Robert Burrell Donkin <ro...@gmail.com>
Subject: Re: JCR email archive in action
To: "James Developers List" <se...@james.apache.org>, paksegu@yahoo.com
Date: Saturday, September 13, 2008, 3:47 AM

On Fri, Sep 12, 2008 at 3:54 PM, paksegu <pa...@yahoo.com> wrote:
> Either Tomcat or Glassfish, thanks

do you want to run a fully functioned, compliant embedded mail server
suitable for internet operation?

or are you more interested in a more modest library suitable for
intranet use that simply manages the basic protocol, with the user
supplying the socket work (using eg servlet) and message processing?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org




      

Re: JCR email archive in action

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Fri, Sep 12, 2008 at 3:54 PM, paksegu <pa...@yahoo.com> wrote:
> Either Tomcat or Glassfish, thanks

do you want to run a fully functioned, compliant embedded mail server
suitable for internet operation?

or are you more interested in a more modest library suitable for
intranet use that simply manages the basic protocol, with the user
supplying the socket work (using eg servlet) and message processing?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by paksegu <pa...@yahoo.com>.
Either Tomcat or Glassfish, thanks

Ransford Segu-Baffoe

paksegu@yahoo.com

https://serenade.dev.java.net/
http://www.noqmx.com/

--- On Fri, 9/12/08, Robert Burrell Donkin <ro...@gmail.com> wrote:

From: Robert Burrell Donkin <ro...@gmail.com>
Subject: Re: JCR email archive in action
To: "James Developers List" <se...@james.apache.org>, paksegu@yahoo.com
Date: Friday, September 12, 2008, 8:50 AM

On Fri, Sep 12, 2008 at 2:52 AM, paksegu <pa...@yahoo.com> wrote:
> Definately a cool application, is there any reason why we can't use
all (James, Jackrabbit and Sling) in an application?

what type of container were you intereted in running this in?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org




      

Re: JCR email archive in action

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Fri, Sep 12, 2008 at 2:52 AM, paksegu <pa...@yahoo.com> wrote:
> Definately a cool application, is there any reason why we can't use all (James, Jackrabbit and Sling) in an application?

what type of container were you intereted in running this in?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: JCR email archive in action

Posted by paksegu <pa...@yahoo.com>.
Definately a cool application, is there any reason why we can't use all (James, Jackrabbit and Sling) in an application? thx