[ http://issues.apache.org/jira/browse/JAMES-643?page=comments#action_12448458 ] Danny Angus commented on JAMES-643: -----------------------------------
1) Add DNSServer dependency to the 4 mailets (RemoteDelivery already depends on it) +0.5 - seems a lot of service to provide just to get the local names 2) Add "getLocalHost()" to MailetContext as a method -1 do not change MailetContext, this should be managed through mailet-api@ It is perhaps a reasonable thing to add, just not this way. 3) Add localhostaddress and localhostname as well-known properties in the MailetContext. +1 Can the DNS service set them up when it initialises()? This is obviously a symptom of the API's defect (no access to services) it requires an API change which is understood. I propose thay we use a workaround in the meantime, and well-known properties is the least intrusive > 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]
