Mark,

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:

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

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.

Thanks,
Mardin


 -------------- Original message ----------------------
From: Mark Sapiro <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to