On 7/28/20 8:02 AM, Kevin Bowen wrote:
Thanks. One other question: in my existing mm_cfg.py I have all three of the following: DEFAULT_HOST_NAME = 'mailman.domain.com' DEFAULT_URL_HOST = 'mailman.domain.com' DEFAULT_EMAIL_HOST = 'mailman.domain.com'
In Defaults.py, it explains that DEFAULT_HOST_NAME is deprecated, but the language is unclear as to what overrides what. In this use case, do I need to change DEFAULT_HOST_NAME as well, or only DEFAULT_URL_HOST?
Just remove DEFAULT_HOST_NAME from mm_cfg.py entirely. It has nothing to do with the web host. It is the former name for what is now called DEFAULT_EMAIL_HOST. If you leave it, it will override anything you set for DEFAULT_EMAIL_HOST for new list creation.
The situation with DEFAULT_URL_HOST is more complicated. There was a former DEFAULT_URL setting which was used to set the list's web_page_url at list creation time. It was the full URL. The current setting is DEFAULT_URL_HOST which is interpolated into DEFAULT_URL_PATTERN to make the setting for the list's web_page_url at list creation time.
fix_url which you need to run after changing these things does not consider DEFAULT_HOST_NAME or DEFAULT_URL at all and these should not be set in mm_cfg.py in any case.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan