[Mailman-Users] Config problem - hostname issues

Mark Sapiro msapiro at value.net
Tue Jul 19 18:51:42 CEST 2005


Forrest Aldrich wrote:

>I was just working on this, and I have:
>
>    DEFAULT_EMAIL_HOST = 'mydomain.net'
>    DEFAULT_URL_HOST = 'www.mydomain.net'
>    VIRTUAL_HOSTS.clear()
>    add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>
>And this does not work.  I'm still seeing the old internal URL:
>
>    http://host.internal.mydomain.net/blah/blah

Did you run fix_url as Jim said in his previous reply. This is
necessary because the URL was stored as a list attribute when the list
was created. (Also, are you restarting Mailman after mm_cfg.py
changes?)

>I'm not sure what is wrong - I searched the FAQ on this one and this 
>seemed to be the right solution.


FAQ 4.29 covers this although the fix_url part is somewhat buried.



>Jim Tittsler wrote:
>
<snip>
>>
>> Remember that to update URLs in existing lists, you need to run  
>> ~mailman/bin/fix_url.py (It is done with bin/withlist.  Run  
>> fix_url.py with no arguments for details, or check the FAQ for more  
>> info on fix_url.py.)


--
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