This adds the addIPAddresses patch to James.java, along with a corresponding commented entry in the configuration file. The code also changes the Vector to a HashSet to (a) improve lookup performance with lots of domains, and (b) eliminate duplicate IP addresses.
As submitted in a separate patch, RemoteDelivery.java has already had a
<serverName> attribute added to it. With out, James uses the first name in
the server name collection, which would often be either localhost or, if
autodetected were turned on, the internal name of the computer. This
behavior was undocumented, and with the HashSet change is undefined. I've
updated the james-config.xml comments for this new element. The
<serverName> element is necessary with the HashSet change, but is otherwise
still useful (and optional).
--- Noel
james-diffs
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
