james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer ...@spam-box.de>
Subject [PATCH] check for HELO before accept MAIL FROM
Date Fri, 17 Feb 2006 11:33:27 GMT
Hi i wrote a patch which check first if a helo was provided before
accept MAIL FROM command. The HELO should be the first command like said
in the RFC:

> 
> > 4.1.1.  First command
> > 
> >    RFC 821 states that the first command in an SMTP session must be the
> >    HELO command. This requirement is hereby amended to allow a session
> >    to start with either EHLO or HELO.
> > 
> > So why not check in the mail handle if the HELO was present ? I could contribute
a patch for that .. 
> > Or someone can tell me why this should not be made ?

bye guys..

Ps: Cause its the first patch i hope its correct


Am Freitag, den 17.02.2006, 11:29 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > Hi,
> > 
> > i just reread the rfc and it really says that the first command should
> > be the HELO:
> > 
> > 4.1.1.  First command
> > 
> >    RFC 821 states that the first command in an SMTP session must be the
> >    HELO command. This requirement is hereby amended to allow a session
> >    to start with either EHLO or HELO.
> > 
> > So why not check in the mail handle if the HELO was present ? I could contribute
a patch for that .. 
> > Or someone can tell me why this should not be made ?
> 
> Feel free to submit a patch.
> 
> Stefano
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> 

Mime
View raw message