[Mailman-Users] DEFAULT_URL not being honored

Todd Freedom_Lover at pobox.com
Wed Feb 26 20:05:03 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vince LaMonica wrote:
> On Feb 16th, I upgraded from 2.0.13 to 2.1.1 and have just noticed that 
> the value of DEFAULT_URL in mm_cfg.py, which is:
>
> DEFAULT_URL         = 'https://www.seweb.uci.edu/ucimail/'
>
> is not being honored in the footers on the listinfo and admin pages. 

Check out ~mailman/Mailman/Defaults.py.  Here's a quote regarding the URLs:

# Mailman needs to know about (at least) two fully-qualified domain names
# (fqdn); 1) the hostname used in your urls, and 2) the hostname used in email
# addresses for your domain.  For example, if people visit your Mailman system
# with "http://www.dom.ain/mailman" then your url fqdn is "www.dom.ain", and
# if people send mail to your system via "yourlist at dom.ain" then your email
# fqdn is "dom.ain".  DEFAULT_URL_HOST controls the former, and
# DEFAULT_EMAIL_HOST controls the latter.  Mailman also needs to know how to
# map from one to the other (this is especially important if you're running
# with virtual domains).  You use "add_virtualhost(urlfqdn, emailfqdn)" to add
# new mappings.
#
# If you don't need to change DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in your
# mm_cfg.py, then you're done; the default mapping is added automatically.  If
# however you change either variable in your mm_cfg.py, then be sure to also
# include the following:
#
#     add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#
# because otherwise the default mappings won't be correct.

If you update this you'll probably also want to look at the fix_url.py
script to correct any existing lists.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
All decent people live beyond their incomes nowadays, and those who aren't
respectable live beyond other peoples'.
    -- Saki

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE+XQ/fuv+09NZUB1oRAps3AKCZUFx0viFJF0jjM+W6JzPTGzGrwQCdGv+9
jRpTKtld+Zat0jq9r+fJcQg=
=CZHI
-----END PGP SIGNATURE-----



More information about the Mailman-Users mailing list