[Mailman-Developers] suggestion for configure

Barry A. Warsaw barry@zope.com
Thu, 11 Jul 2002 19:09:40 -0400


A long time ago, Ron Jarrell <jarrell@vt.edu> wrote:

    RJ> Add a --with-fqdn and --with-url or equivalent.

Done, except I'm calling them --with-mailhost and --with-urlhost. ;)

I'm also simplifying the configure tests for the defaults of these two
values.  Now, it'll just use the results of socket.getfqdn() without
all the fancy (and fragile) attempts at whacking off the leading
`www'.

So by default, when I run it I get DEFAULT_EMAIL_HOST and
DEFAULT_URL_HOST set to "yyz.zope.com".  Setting DEFAULT_URL_HOST to
that isn't correct for my machine, so I now run configure
--with-urlhost=localhost

Of course, it's also easy to just change these values in mm_cfg.py
-Barry