Serge,

In what context did you raise the issue of a matcher (or whatever) needing
to split a Mail object with multiple recipients into multiple Mail objects?
Are you skipping ahead to the issue of per-user mail processing?  Just to do
BSF, the Mail object could be exposed normally.

With respect to per-user processing, my thought is that we could have a
Mailet that looks at the recipient list and for each local recipient that
has per-user configuration, posts a message clone for that user.  That way
we don't have do accommodate that behavior in all per-user matcher/mailet
code, or have a base class with per-user behavior.

But my initial reason for looking at BSF wasn't actually for per-user
scripts.  It was to allow mail admins more options for writing custom
matchers/mailets.

Sieve looks interesting.  Has anyone implemented it in Java?  Regardless of
BSF integration, I could see how we might implement a SieveMailet.  I don't
think that we should replace our pipeline architecture with Sieve.  Instead,
if a site were to use Sieve extensively, they could simply have a smaller
pipeline.

I found GNU Sieve: http://www.gnu.org/software/mailutils/#sieve, and the
"real" libSieve project: http://libsieve.sourceforge.net/.  I suppose that
we could look at porting the latter to Java.

Sieve is definitely something to discuss regarding v3, as it might have some
impact on the revised Mailet API.

        --- Noel

-----Original Message-----
From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 10:39
To: [EMAIL PROTECTED]
Subject: Re: Back to square one with James


Noel J. Bergman wrote:
> For v3, I am hoping to introduce BSF so that matchers and mailets can be
> written in script languages.

Nice idea... I'm wondering how you could have a matcher (or whatever)
split a Mail object with multiple recipients into multiple Mail objects,
but otherwise I think that framework is a nice idea.  There's also a
fledging IETF standard called Sieve that might be worthwhile looking at
for this (http://www.ietf.org/rfc/rfc3028.txt?number=3028)

--
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com


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

Reply via email to