Noel J. Bergman (JIRA) wrote:
[ http://issues.apache.org/jira/browse/JAMES-508?page=comments#action_12413193 ]
Noel J. Bergman commented on JAMES-508:
---------------------------------------
I don't have a problem with adding isLocalEmail to eventually replace
isLocalUser, but we should keep isLocalServer, since there are some checks to
just see if that domain is locally hosted.
Sure!
Now I changed the default isLocalUser to also check for "@" presence,
and use @localhost if not present, then forwards the call to the new
isLocalUser(MailAddress) that check both domain and user.
isLocalServer("localhost") always return true.
We already had the "localhost" hardcoded elsewhere, so I think I didn't
add any issue with this.
Upgrading current calls to isLocalUser to the full username we now are
only a few steps to a modular virtual hosting support.
Maybe I should change the new isLocalUser to isLocalEmail like you said.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]