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 Alec Yu <al...@msa.hinet.net> on 2001/05/17 13:57:10 UTC

about SMTP service extensions

As we (or some of us) know, SMTP comes with service extensions.
I noticed JAMES not providing any of SMTP service extensions,
and the SMTP handler did not take service extensions in mind.

If JAMES provides a plug-in style for managing SMTP service extensions,
it will be great.

Think about this:
For people who want to provide their own SMTP service extensions,
they may derive a custom service extension class from the generic one,
and then code customized SMTP commands in the service extension
in the derived class.

----- Original Message ----- 
From: "Charles Benett" <ch...@benett1.demon.co.uk>
> Alec Yu wrote:
> > org.apache.james.esmtpserver.ESMTPServer (inherited from the above SMTPServer)
> > org.apache.james.esmtpserver.ESMTPHandler (inherited from the above SMTPHandler)
> > org.apache.james.transport.matchers.AuthLogin
> > org.apache.james.transport.matchers.AuthNotLogin
> The other thing that would be good would be to combine Matt Pangaro's
> SizeLimitedSMTPHandler into SMTPHandler with appropriate switches so
> that it only uses SizeLimitedSMTPStream (and instantiates a mail object)
> if a limit has been set.


Re: about SMTP service extensions

Posted by Charles Benett <ch...@benett1.demon.co.uk>.
Alec Yu wrote:
> 
> As we (or some of us) know, SMTP comes with service extensions.
> I noticed JAMES not providing any of SMTP service extensions,
> and the SMTP handler did not take service extensions in mind.
> 
> If JAMES provides a plug-in style for managing SMTP service extensions,
> it will be great.
> 
> Think about this:
> For people who want to provide their own SMTP service extensions,
> they may derive a custom service extension class from the generic one,
> and then code customized SMTP commands in the service extension
> in the derived class.
> 

This is a great idea, it just needs someone to di it :-)
Charles

> ----- Original Message -----
> From: "Charles Benett" <ch...@benett1.demon.co.uk>
> > Alec Yu wrote:
> > > org.apache.james.esmtpserver.ESMTPServer (inherited from the above SMTPServer)
> > > org.apache.james.esmtpserver.ESMTPHandler (inherited from the above SMTPHandler)
> > > org.apache.james.transport.matchers.AuthLogin
> > > org.apache.james.transport.matchers.AuthNotLogin
> > The other thing that would be good would be to combine Matt Pangaro's
> > SizeLimitedSMTPHandler into SMTPHandler with appropriate switches so
> > that it only uses SizeLimitedSMTPStream (and instantiates a mail object)
> > if a limit has been set.

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