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 Serge Knystautas <se...@lokitech.com> on 2003/11/12 21:54:14 UTC

Future direction for James

James was originally created for the mailet concept, i.e., Java based 
email processing.  This has been done "ok" so far.. the 2.2 release has 
a better classloader that makes it easier to do this, but there still 
hasn't emerged a great Mailet SDK/IDE plug-in.

Meanwhile, James is being adopted as a straight email server 
replacement.  The code is much more scalable, and we've got notional 
requirements from ASF infrastructure that we're using as a target.

IMHO, one area that James struggles is configurability:
- Restart for every conf change.
- All in XML files (or worse, a database)
- Troubleshooting is non-intuitive and tough at best, and
- No consensus on how to support more complex processing logic (matcher 
params, BSD scripting, etc...)

Looking over the config files for qmail on ASF infrastructure makes you 
appreciate the expertise that the ASF has.  The large files with rules 
to block emails based on subject or attachment patterns is, well, 
impressive.  Right now James has no manageable way to support this.

At the same time, we get questions about extracting protocol handlers, 
embedding in JBoss or other apps, and otherwise componentizing James.

I'm curious to see where people think James should go...
a. Push towards more developer friendly uses, e.g., embedding in 
different Avalon containers, w/JBoss, extractable protocol handlers, etc..?
b. Towards more sysadmin friendly uses, e.g., scripting in protocol 
handlers, complex processor logic, etc...

These aren't mutually exclusive goals, and I recognize the real driver 
will be people making these changes.  Nonetheless, I'm curious what 
people think.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com



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


Re: Future direction for James

Posted by Mark Daring <co...@chello.at>.
> IMHO, one area that James struggles is configurability:
> - Restart for every conf change.

Has been and would be nr. 2

> - All in XML files (or worse, a database)

id say as most comments before thats ok, a GUI would certainly lower the
entrance level of new users so nr. 3


> - Troubleshooting is non-intuitive and tough at best, and

this would also be improved by a GUI

> - No consensus on how to support more complex processing logic (matcher
> params, BSD scripting, etc...)

regex for matchers loaded from a file generated with a GUI  - nr. 4

> At the same time, we get questions about extracting protocol handlers,
> embedding in JBoss or other apps, and otherwise componentizing James.

James as stand alone app without container - as alternative - with a
component as singelton exposing
references to most important objects like userrep or mailreps and wrappers
for this component
serving most popular containers - nr. 100

and clustering - nr. 1

M


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


Re: Future direction for James

Posted by Stephen McConnell <mc...@apache.org>.

Soeren Hilmer wrote:

> Well I believe that Merlin is a must (IMO Phoenix is dying), but apart 
> from
> that JBoss etc. is not that interesting. Geronimo might be interesting 
> when
> it sees the light (is Geronimo Merlin based?)


Geronimo is not Merlin based.

Geronimo is a J2EE container whereas Merlin is a much lighter-weight 
container with strict IOC semantics.  We are currently working on the 
Merlin kernel to facilitate plug-in container facilities (e.g. the 
logging sub-system that Noel wants or a JMX MBean registery, etc.).  The 
priority it enable Merlin to be the container that *you want it to be* 
based on a kernel configuration - light-weight for scenarios such 
embedding inside a servlet, or an embedded solution inside an 
application for dynamic service discovery and deployment, or 
heavy-weight such as an app-server scenario.

Alexis (OpenIM fame) has been experimenting with deployment of Merlin 
under JBoss.  Initial feedback is that it is possible but icky.  As we 
move forward I will not be suprised if we see a Merlin embeddor that 
takes care of this in a generic manner (and synchronized with Geronimo 
development).

Cheers, Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





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


Re: Future direction for James

Posted by Soeren Hilmer <so...@tietoenator.com>.
On Wednesday 12 November 2003 21:54, Serge Knystautas wrote:
> James was originally created for the mailet concept, i.e., Java based
> email processing.  This has been done "ok" so far.. the 2.2 release has
> a better classloader that makes it easier to do this, but there still
> hasn't emerged a great Mailet SDK/IDE plug-in.

That might be the case but the mailet concept is what made me choose James in 
the first place. It is exactly the extensability using mailets/matchers which 
makes James such a powerfull choice.

>
> Meanwhile, James is being adopted as a straight email server
> replacement.  The code is much more scalable, and we've got notional
> requirements from ASF infrastructure that we're using as a target.
>
> IMHO, one area that James struggles is configurability:
> - Restart for every conf change.

That is a major inconvinience but as other has pointed out should be mainly a 
container issue.

> - All in XML files (or worse, a database)

This is not a problem for me personally, but we have several installations 
spread all over, and sysadms at these sites have very different capabilities.
For that reason we have made a simple metaconfiguration, which controls mainly 
our custom mailets, but also the mailflow in the spool (ie. a metasetting can 
enable/disable the processor route mails take).
This metaconfiguration is a lot simpler (basically properties) so it is easier 
to guide the sysadm to make certain changes, and we are currently building a 
GUI ontop of this configuration.

> - Troubleshooting is non-intuitive and tough at best, and

Yes, It could be better. We are currently thinking about some alarm-service 
(JMX based, later SNMP) but the problem is where and when to raise the 
alarms.

> - No consensus on how to support more complex processing logic (matcher
> params, BSD scripting, etc...)

Well is that not what the mailet/matcher API is for? 

>
> At the same time, we get questions about extracting protocol handlers,
> embedding in JBoss or other apps, and otherwise componentizing James.
>
> I'm curious to see where people think James should go...
> a. Push towards more developer friendly uses, e.g., embedding in
> different Avalon containers, w/JBoss, extractable protocol handlers, etc..?

Well I believe that Merlin is a must (IMO Phoenix is dying), but apart from 
that JBoss etc. is not that interesting. Geronimo might be interesting when 
it sees the light (is Geronimo Merlin based?)

> b. Towards more sysadmin friendly uses, e.g., scripting in protocol
> handlers, complex processor logic, etc...

This would be my preferred road for the future.

>
> These aren't mutually exclusive goals, and I recognize the real driver
> will be people making these changes.  Nonetheless, I'm curious what
> people think.

--Søren

-- 
Søren Hilmer, M.Sc.
R&D manager		Phone:	+45 70 27 64 00
TietoEnator IT+ A/S	Fax:	+45 70 27 64 40
Ved Lunden 12		Direct:	+45 87 46 64 57
DK-8230 Åbyhøj		Email:	soren.hilmer@tietoenator.com


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


Re: Contributed Matcher/Mailet library sub-project

Posted by Serge Knystautas <se...@lokitech.com>.
Noel J. Bergman wrote:
>>I think that the ASF James project should formally endorse and host,
>>obviously with no responsibility, a site where users can store and
>>exchange matchers/mailets
> 
> +1
> 
> This is similar to what HTTPd had for contributed patches.  I think that we
> need to insist that the license be the ASF license.  I don't know what else
> we would want to do, such as whether or not we need to vett the code for
> functionality.

+1 to this, not necessarily the no-responsibility part.

We could create links if someone had a commercial offering or a 
mailet/matcher package they did not want to license ASF style.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com


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


Contributed Matcher/Mailet library sub-project

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I think that the ASF James project should formally endorse and host,
> obviously with no responsibility, a site where users can store and
> exchange matchers/mailets

+1

This is similar to what HTTPd had for contributed patches.  I think that we
need to insist that the license be the ASF license.  I don't know what else
we would want to do, such as whether or not we need to vett the code for
functionality.

	--- Noel


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


RE: Future direction for James

Posted by "Noel J. Bergman" <no...@devtech.com>.
> > - No consensus on how to support more complex processing logic (matcher
> > params, BSD scripting, etc...)

> Let's start implementing
http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV3/MailetConfiguration #1
in v2.2.

You want to do that now?  Before we make the next major release?

By the way, I would consider starting this by forking LinearProcessor, doing
the config in the new code, and initially requiring the code to be something
like:

   <processor class="o.a.j.NewXMLProcessor" ...>

(please come up with a better name)

which would help keep the rest of the code stable, and only expose new
config capabilities within such elements.  It might also help in terms of
ensuring compatibility with existing configurations.

	--- Noel


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


RE: Future direction for James

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
> From: Serge Knystautas
> 
> James was originally created for the mailet concept, i.e., Java based 
> email processing.  This has been done "ok" so far.. the 2.2 release has 
> a better classloader that makes it easier to do this, but there still 
> hasn't emerged a great Mailet SDK/IDE plug-in.

IMO the mailet concept is what make James unique and exciting: the ability for a Java knowledgeable administrator to implement any specific need that may arise. So continuing to improve/extend its power, ease of use and flexibility is #1 for me.

I just said though "Java knowledgeable": a non Java knowledgeable administrator would need to choose among a good, increasing and improving but not so rich collection of official matchers and mailets. I think that the ASF James project should formally endorse and host, obviously with no responsibility, a site where users can store and exchange matchers/mailets, of which a part makes up into the official code as now. Danny's "mailet.org" was a good initiative, but now is no longer up and running. Was it successful? probably not, only two contributions - one from Marco Tedone and one from myself: would it have been more successful if with more visibility from ASF?

> Meanwhile, James is being adopted as a straight email server 
> replacement.  The code is much more scalable, and we've got notional 
> requirements from ASF infrastructure that we're using as a target.
> 
> IMHO, one area that James struggles is configurability:
> - Restart for every conf change.

Critical also for me.

> - All in XML files (or worse, a database)

I consider this quite acceptable. The real problem here IMO is a lack of an offline syntax checker utility for the configuration files: so many times I had panicly to correct an error in one of them while the server is down refusing to startup because of some stupid XML syntax error just made by myself. Some DTD validation should be possible to be performed by an offline tool before restarting the server.

> - Troubleshooting is non-intuitive and tough at best, and

Definitively should be improved.

> - No consensus on how to support more complex processing logic (matcher 
> params, BSD scripting, etc...)

Let's start implementing http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV3/MailetConfiguration #1 in v2.2.

> Looking over the config files for qmail on ASF infrastructure makes you 
> appreciate the expertise that the ASF has.  The large files with rules 
> to block emails based on subject or attachment patterns is, well, 
> impressive.  Right now James has no manageable way to support this.
> 
> At the same time, we get questions about extracting protocol handlers, 
> embedding in JBoss or other apps, and otherwise componentizing James.
> 
> I'm curious to see where people think James should go...
> a. Push towards more developer friendly uses, e.g., embedding in 
> different Avalon containers, w/JBoss, extractable protocol 
> handlers, etc..?
> b. Towards more sysadmin friendly uses, e.g., scripting in protocol 
> handlers, complex processor logic, etc...

IMHO (b) is absolutely #1.

> 
> These aren't mutually exclusive goals, and I recognize the real driver 
> will be people making these changes.  Nonetheless, I'm curious what 
> people think.
> 

Vincenzo


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


RE: Future direction for James

Posted by Lindsay Smith <li...@wapdat.com>.
I am not bothered about running James inside JBoss, Tomcat etc.
Whether the config is XML or whatever doesn't bother me.
Getting rid of the restart after a config.xml change would be useful.
Friendly sysadmin would be useful to me for "selling" James to clients.

As Noel said, make it a better mail server, rather than a better toolkit is
my view.

my 2 pence worth

linds


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


RE: Future direction for James

Posted by "Noel J. Bergman" <no...@devtech.com>.
> - Restart for every conf change.

The container can help with this, as can a refactoring of the process.

- All in XML files (or worse, a database)

<<shrug>> This bothers me not at all.

> No consensus on how to support more complex processing logic
> (matcher params, BSD scripting, etc...)

I think we've got some consensus to work on after the next major release.

> Looking over the config files for qmail on ASF infrastructure makes you
> appreciate the expertise that the ASF has.  The large files with rules
> to block emails based on subject or attachment patterns is, well,
> impressive.  Right now James has no manageable way to support this.

Huh?  I use almost the same files with FileRegexMatcher.  Right now that is
only handling headers, but I'm considering a substantial change to use the
message as a stream, which would (a) remove the need to load the message
body, and (b) allow matching body content.

> At the same time, we get questions about extracting protocol handlers,
> embedding in JBoss or other apps, and otherwise componentizing James.

I have no need to do those things.  If we want to have an embeddable mailet
container, that is another matter.

> a. Push towards more developer friendly uses,
      e.g., embedding in different Avalon containers,
            w/JBoss, extractable protocol handlers, etc..?

Developer friendly, yes.  But I don't consider providing extractable code
that someone can repurpose to be developer friendly.  We should focus on
making James better at what it is and can be.  Extending and enhancing
James, not making it a toolkit for building other servers.

> b. Towards more sysadmin friendly uses
     e.g., scripting in protocol handlers,
           complex processor logic, etc...

Yes to those, as examples of what I think (a) can really facilitate.

	--- Noel


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