Changeset 156
- Timestamp:
- 12/21/06 11:52:02 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jsmtpd/src/org/jsmtpd/plugins/deliveryServices/RemoteSmtpSender.java
r155 r156 131 131 smtpHostName = ReadConfig.getInstance().getLocalDomain(); 132 132 try { 133 Inet4Address localhost = (Inet4Address) Inet 4Address.getLocalHost();133 Inet4Address localhost = (Inet4Address) InetAddress.getByName("127.0.0.1"); 134 134 bogusDNS.add(localhost); 135 log.debug("Bogus DNS="+localhost.toString()); 135 136 } catch (UnknownHostException e) { 136 137 throw new PluginInitException(e); … … 139 140 Inet4Address me = (Inet4Address)InetAddress.getByName(smtpHostName); 140 141 bogusDNS.add(me); 142 log.debug("Bogus DNS="+me.toString()); 141 143 } catch (UnknownHostException e) { 142 144 throw new PluginInitException(e);
