Norman Maurer wrote:
I only will submit the patches when i found a way to write a junit
test..

You could move the getByName from the doHELO command to a protected method. Then you could extend the HeloCmdHandler by overriding the getByName with your own implementation, and then test the behaviour. Not sure this is a good way, but I can't think of other solutions right now.

Buth what you think about rcptchecks? It should be possible to acces he
user store for getting all valid recipients or im wrong ?

The problem here is that often the user will have aliases, virtusertables. specific recipient matchers that will result in a mapping not 1 to 1 between the valid recipients and the users in the repository.

Stefano


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

Reply via email to