[ 
http://issues.apache.org/jira/browse/JAMES-643?page=comments#action_12448450 ] 
            
Stefano Bagnara commented on JAMES-643:
---------------------------------------

All this 4 mailets use the InetAddress only to get localhost:
----
AbstractRedirect, AbstractVirtualUserTable, DNSBounce, RemoteDelivery

java.net.InetAddress.getLocalHost().getHostAddress()
java.net.InetAddress.getLocalHost().getHostName()
----

Imho we have 3 options:
1) Add DNSServer dependency to the 4 mailets (RemoteDelivery already depends on 
it)
2) Add "getLocalHost()" to MailetContext as a method
3) Add localhostaddress and localhostname as well-known properties in the 
MailetContext.


> Replace all java.net.InetAddress usage with dnsjava
> ---------------------------------------------------
>
>                 Key: JAMES-643
>                 URL: http://issues.apache.org/jira/browse/JAMES-643
>             Project: James
>          Issue Type: Improvement
>            Reporter: Norman Maurer
>         Assigned To: Norman Maurer
>            Priority: Minor
>             Fix For: Next Major
>
>
> We should replace all InetAddress usage with dnsjava

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to