Re: [Mailman-Users] changed domains, need to change list url

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Kirk,
Reply to the list. That way more folks can take a stab at offereing help and then others can benefit from the answers if they search the archives.
Kirk R. Wythers wrote:
Sorry to be such a ditz... I tried changing mm_cfg.py to this:
DEFAULT_HOST_NAME = 'neighborsunited.net' DEFAULT_URL = 'http://www.neighborsunited.net' MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME add_virtualhost(neighborsunited.net, neighborsunited.net)
must be right... when I run mailmanctl restart I get:
lorax[/usr/local/mailman/bin]$ ./mailmanctl restart Traceback (most recent call last): File "./mailmanctl", line 105, in ? from Mailman import mm_cfg File "/usr/local/mailman/Mailman/mm_cfg.py", line 49, in ? add_virtualhost(neighborsunited.net, neighborsunited.net) NameError: name 'neighborsunited' is not defined lorax[/usr/local/mailman/bin]$
You want to literally use:
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
I think (and someone more knowledgeable will correct me if I'm wrong here, I hope), that you could use neighborsunited.net in the add_virtualhost function if you quoted it. So this *should* work as well:
add_virtualhost('neighborsunited.net', 'neighborsunited.net')
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
Some people are like Slinkies... not really good for anything, but you still can't help but smile when you see one tumble down the stairs.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3rc2 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD8DBQE/L/Pluv+09NZUB1oRAmuaAKDBZ3WW0jnmDjTMfaxFI7yBxT3uXACgiwa6 GYD3xnq12mE28KSEBu6InU0= =zOI8 -----END PGP SIGNATURE-----
participants (1)
-
Todd