Am Freitag, den 31.03.2006, 15:00 +0200 schrieb Stefano Bagnara: > 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.
That should work but its not a very "clean" solution :-( > > > 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 Is the Virtualusertable not accessable from the UserStore ? Aliases must handled correct of course. Also whitelist domains etc must be configurable. bye Norman > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > !EXCUBATOR:1,442d4f1f37022694517039!
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil