Thats really strange .. i don'T used tabs.. Plz anyone can send me this
java style plugin for eclipse so i can be sure not use the worng one ?

I will change the config namens and only reformat things i change and
upload it again.

thx for the feedback!

bye
Norman

Am Donnerstag, den 18.05.2006, 23:08 +0000 schrieb Stefano Bagnara
(JIRA):
>     [ 
> http://issues.apache.org/jira/browse/JAMES-463?page=comments#action_12412440 
> ] 
> 
> Stefano Bagnara commented on JAMES-463:
> ---------------------------------------
> 
> Not tested, only reviewed the patch file and here is the result:
> 
> 1) I would use checkReverseEqualsEhlo instead of checkReverseEqualEhlo
> 2) You used tabs somewhere, please rememeber we use 4 spaces.
> 3) Try not to reformat code you don't touch: this make it easier to review 
> the changes, avoid conflicts, make is easy to find out in history why a give 
> row contains a given code.
> 
> About the previous comment on the testability you can use a Mock DNSServer, 
> like we did in jSPF for that.
> 
> > Check for reverse on HELO/EHLO
> > ------------------------------
> >
> >          Key: JAMES-463
> >          URL: http://issues.apache.org/jira/browse/JAMES-463
> >      Project: James
> >         Type: New Feature
> 
> >   Components: SMTPServer
> >     Reporter: Norman Maurer
> >     Assignee: Norman Maurer
> >      Fix For: 2.4.0
> >  Attachments: helo-reverse.patch
> >
> > I complete a patch to support check that the provided helo is the reverse 
> > entry of the connected mailserver. But anyone has an idea howto write a 
> > junit test for that ? Is there a way to spoof the ip ? cause otherwise it 
> > will connect with 127.0.0.1 and this will fail cause there is no valid 
> > reverse for that.
> 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to