I like the servername attribute for remote delivery, I believe that we
should actually add it at the root of config, and make it available to all
mailets as a parameter in the context, to be added to the mailet API in
time. see my other mail regarding ipaddresses.

d.

> -----Original Message-----
> From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
> Sent: 18 August 2002 20:44
> To: James-Dev Mailing List
> Subject: [PATCH] james-config.xml/james.java
>
>
> 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
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to