[Mailman-Users] rename mailman hostname

mardin at comcast.net mardin at comcast.net
Tue Oct 31 21:17:10 CET 2006


You are great! It works now!

If renaming the mailman (2.1.5) hostname from mailman_server1.admin.net to mailman_server2.admin.net, I know that I have to modify and add the following three lines:
# vi mm_cfg.py  
DEFAULT_EMAIL_HOST = 'mailman_server2.admin.net'
DEFAULT_URL_HOST = 'mailman_server2.admin.net'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'

My question is how to use the following two lines:


For our case, is it necessary to add the above two lines? When I did a quick test, the mailman server was working without adding these two lines.


 -------------- Original message ----------------------
From: Mark Sapiro <msapiro at value.net>
> mardin at comcast.net wrote:
> >
> >After I used URL of https://mailman_server2.admin.net/mailman/admin/, I could 
> log in the list successfully. But I could not modify the contents of 
> configurations and do other administration work. When I tried to submit the 
> changes, I got the following message:
> >
> >"Although this page is encrypted, the information you have entered is to be 
> sent over an unencrypted connection and could easily be read by a third party.
> >Are you sure you want to continue sending this information? -> Continue"
> >
> >After I clicked the Continue Botton, nothing changed about the list.
> >
> >I did add the "DEFAULT_URL_PATTERN = 'http://%s/mailman/'" to mm_cfg.py and 
> restart mailman. Did I miss some steps for renaming the mailman hostname?
> If you want to use SSL, you should set
> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
> and then run fix_url again. Also see
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.045.htp>.
> -- 
> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list