mailman.cfg webservice.hostname option has misleading name

In mailman.cfg, there is an option

[webservice] hostname: x.x.x.x

The name "hostname" implies that it's talking about the HTTP Host: header. In fact, this option is about the bind address that the webservice should listen on. It might make more sense to call it something like host: or bindaddr: or listenaddr: or something.

It is possible to put in a hostname, rather than an ip address. In this case, it does a DNS lookup and then binds to the address that is returned.

But whatever address is bound to, the HTTP Host: header is ignored, so the option name "hostname" is misleading.

Edited by Ryan Hughes