james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Hilmer ...@widetrail.dk>
Subject Re: [jira] Updated: (JAMES-451) Check for valid domain in HELO
Date Tue, 28 Mar 2006 17:41:41 GMT
Hi,

I tested such issues using a separate DNS server which returned localhost for 
the domains i tested. I used Jnamed from dnsjava for this.

--Søren

On Sunday 26 March 2006 21:35, Norman Maurer wrote:
> Just start to write a junit test for this,, Now i notice a problem ..
> The method helo(InetAddress) in SMTPProtocol needs a InetAddress but i
> need to test it with not resolvable domains. So if i do a
> InetAddress.getHostbyName("egjoerg.de"); an exception is thrown before
> pass this to the HeloCmdHandler..
>
> So i need to create an own witch extends the one which is used now.. Or
> there are any other solutions ?
>
> bye
>
> Am Sonntag, den 26.03.2006, 19:22 +0100 schrieb Norman Maurer (JIRA):
> >      [ http://issues.apache.org/jira/browse/JAMES-451?page=all ]
> >
> > Norman Maurer updated JAMES-451:
> > --------------------------------
> >
> >     Attachment: helo-v2.patch
> >
> > -fix the bug that stefano reported
> > -update james-config.xml
> >
> > TODO: Add junit test.
> >
> > > Check for valid domain in HELO
> > > ------------------------------
> > >
> > >          Key: JAMES-451
> > >          URL: http://issues.apache.org/jira/browse/JAMES-451
> > >      Project: James
> > >         Type: Wish
> > >   Components: SMTPServer
> > >     Reporter: Norman Maurer
> > >     Assignee: Stefano Bagnara
> > >  Attachments: helo-v2.patch, helo.patch
> > >
> > > IT would be nice to let
> > > /james-dev/src/java/org/apache/james/smtpserver/HeloCmdHandler.java to
> > > accept an init parameter for specify that the helo value must be an
> > > resolvable domainname. In RFC HELO names should always a valid
> > > domainname.

-- 
Søren Hilmer, M.Sc., M.Crypt.
wideTrail			Phone:	+45 25481225
Pilevænget 41		Email:	sh@widetrail.dk
DK-8961  Allingåbro	Web:	www.widetrail.dk

---------------------------------------------------------------------
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