Hello everyone, Before discovering JAMES, I created a custom mail server for the company I work for. Since then, I've been trying to create the mailets needed to run our business processes inside of JAMES. The concept of the mailet API is very good, however, I've run into some limitations inherent to the API and JAMES implementation:
1) Only rudimentary logging support exists. 2) No support exists for running messages through a pipeline before officially accepting a message to the server (no mailet-based fast fail.. Yes, I've seen the other discussions). 3) Access to resources that should be global (such as DNS) is difficult and limited. 4) The match(Mail) method of matcher is poorly defined-- Is the Mail object modified based on the return from the match method call? If so, why is a "matcher" modifying the message? If not, why is a collection (rather than a simple boolean) being returned? 5) Because the JavaMail API is used, it is difficult to concurrently process multiple large messages, as the messages seem to exist in memory. (Streaming the contents of large messages from the disk would seem to be better in that respect). I send this in response to this thread as I've considered implementing the mailet API for my custom mail server. This would allow me to alleviate many of the difficulties (such as fast fail mailets, global resource access, and logging). However, my hope is that many of the limitations I've run into can be alleviated for future versions of the Mailet API (and JAMES) so that I don't have to roll my own again. Thanks, Tom Brown On 11/13/06, Andrew C. Oliver <[EMAIL PROTECTED]> wrote:
Stefano Bagnara wrote: > I think only James Server and MailCatcher. > > AFAIK, JBMS does not support mailets. > > So here we are: a bunch of James Server committers, the MailCatcher > developer and Andrew Oliver. > > I would like to know what hat Andrew wear: are you still interested in > Mailet APIs for JBMS or are you interested in Mailet APIs for personal > interest? For the mail server formerly known as JBMS. Later on it is likely that someone else will replace me in here. For now you're stuck with me. -Andy > > I ask this because I think that we should know each other goals to > understand better the requirement for the APIs. > > Stefano > > Alan Williamson wrote: >> Naturally JAMES does, but what other mail servers implement the API? >> >> I know JBoss has their own mail server; but is it Mailet friendly? >> >> A quick google search came up with nothing! >> >> Our own project MailCatcher is the only other one that a developer >> can download today and integrate with Mailets they have written, >> historically, for JAMES. > >
