Changing the port number used to when you need to approve messages

View: New views
2 Messages — Rating Filter:   Alert me  

Changing the port number used to when you need to approve messages

by Glenn Magle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you tell me where to look to change the port # of the web link to  
approve messages. We have some lists using port 8080 and they will not  
work, all ports without this are fine.
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@...
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com

Re: Changing the port number used to when you need toapprove messages

by Mark Sapiro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Glenn Magle wrote:

>Can you tell me where to look to change the port # of the web link to  
>approve messages. We have some lists using port 8080 and they will not  
>work, all ports without this are fine.


When the lists were created, you had something like

DEFAULT_URL_PATTERN = 'http://%s:8080/mailman/'

(the right way to specify a port), or

DEFAULT_URL_HOST = 'example.com:8080'

(the wrong way to specify a port) in mm_cfg.py. Assumong mm_cfg.py is
now correct and doesn't specify ports, run

 bin/withlist -l -r fix_url <listname>

for each affected <listname>, or

 bin/withlist -l -a -r fix_url

to do all lists. If the values for DEFAULT_URL_PATTERN,
DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST are correct, it won't hurt to
run fix_url on 'good' lists as it won't change anything.

--
Mark Sapiro <mark@...>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@...
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com