Author: norman
Date: Sun Oct 22 11:17:49 2006
New Revision: 466860
URL: http://svn.apache.org/viewvc?view=rev&rev=466860
Log:
Remove old method which has been moved to AbstractDomainList
Modified:
james/server/trunk/src/java/org/apache/james/James.java
Modified: james/server/trunk/src/java/org/apache/james/James.java
URL:
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/James.java?view=diff&rev=466860&r1=466859&r2=466860
==============================================================================
--- james/server/trunk/src/java/org/apache/james/James.java (original)
+++ james/server/trunk/src/java/org/apache/james/James.java Sun Oct 22 11:17:49
2006
@@ -66,9 +66,6 @@
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.SequenceInputStream;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Enumeration;
@@ -360,25 +357,6 @@
.append(" ) is not a local address. This is not
necessarily a problem, but it does mean that emails addressed to the postmaster
will be routed to another server. For some configurations this may cause
problems.");
getLogger().warn(warnBuffer.toString());
}
- }
-
- protected Collection getDomainsIP(Collection domains) {
- Collection domainIP = new ArrayList();
- if (domains.size() > 0 ) {
- Iterator dom = domains.iterator();
- while (dom.hasNext()) {
- String domain = dom.next().toString();
- try {
- InetAddress[] addrs =
lookupDNSServer().getAllByName(domain);
- for (int j = 0; j < addrs.length ; j++) {
- domainIP.add(addrs[j].getHostAddress());
- }
- } catch (UnknownHostException e) {
- getLogger().error("Cannot get IP address(es) for " +
domain);
- }
- }
- }
- return domainIP;
}
private void initializeLocalDeliveryMailet() throws MessagingException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]