If you want to update existing lists the $prefix/bin/withlist script $prefix/bin/fix_url.py is your friend for resetting things. (or the changes will not take hold).Ĭhanging these things in mm_cfg.py will now effect new lists. In this case you will also have to adjust your Apache setup to support SSL which is outside the scope of this FAQ but see If you want to use Secure HTTP instead of regular HTTP you may also want to assign, again in mm_cfg.py, different values for the DEFAULT_URL_PATTERN and PUBLIC_ARCHIVE_URL MM config variables.ĭepending on how you want your site to operate you may change one or other or both of these patterns to use the 'https' scheme rether than the default 'http' scheme.Ĭheck in Defaults.py for the description and current values of the variables. Insert the servers non-standard port number into the pattern. If your Apache server uses non-standard ports you may also want to assign, again in mm_cfg.py, different values for the DEFAULT_URL_PATTERN and PUBLIC_ARCHIVE_URL MM config variables. Do ensure the different add_virtualhost() calls have unique values for their first parameter or you may get a surprise. VIRTUAL_HOSTS is a Python dictionary (equivalent to a Perl Hash) with URL_FQDNs as the keys and EMAIL_FQDNs as the values. So for instance, calling the function like this:Īdd_virtualhost('')Īdd_virtualhost('', 'mydomain.tld') If you call the function add_virtualhost (which is defined in Defaults.py if you want to look at the code) with no EMAIL_FQDN then the function computes the email hosts from the url host by removing one leading element of the name of the url host. Typically something like what follows, at the end of your mm_cfg.py, will do the trick:ĭEFAULT_EMAIL_HOST = ''ĭEFAULT_URL_HOST = ''Īdd_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)Īnd some more add_virtualhost(URL_FQDN, EMAIL_FQDN) if you are using virtual hosts.ĭEFAULT_URL_HOST should be a fully qualified host name, not an actual URL, e.g. The applicable MM config variables are described in $prefix/Mailman/Defaults.py. These changes should be made $prefix/Mailman/mm_cfg.py. Where can I change a list or the default URL used for the web interface?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |