Host name resolution in JavaMail

Hi there,

How can one force JavaMail to flush cache of already stored IP addresses for hostnames? What I see in our deployment environment is that if there is a change in the IPs for a mailstore, the change is not picked up by JavaMail. The changes is pushed to all servers and the local lookupd. From the command line if you try to ping the mailserver you will get the updated IP but the JavaMail app still holds on to the previous IP.

Thanks in advance for any tips, suggestions or pointers.

[513 byte] By [radicalJa] at [2007-11-26 14:35:02]
# 1
It's not JavaMail that caches the IP addresses, it's the JDK.See the java.net.InetAddress class.
bshannona at 2007-7-8 8:15:50 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...