[Mailman-Users] Config problem - hostname issues

Forrest Aldrich forrie at forrie.com
Tue Jul 19 01:42:50 CEST 2005


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


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

To reiterate:  our mailman server is on an internal network - the 
external website is configured to proxy http://www.ourdomain.com/mailman 
to the internal host.   The URLs showing up on the admin page (for 
example) are still reflecting the internal host name, which is incorrect 
for what we're needing.


Thanks.


Jim Tittsler wrote:

> On Jul 19, 2005, at 03:39, Forrest Aldrich wrote:
>
>> I've set up in the mm_cfg.py:
>>
>>     DEFAULT_EMAIL_HOST = 'externalhost.com'
>>     DEFAULT_URL_HOST = 'www.externalhost.com'
>>     add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>
> You may need to add:
> VIRTUAL_HOSTS.clear()
> just before the add_virtualhost() call.
>
>> [...] Yet, still, the URLs in the resulting admin page from mailman  
>> have:
>
>
> 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.)
>
>



More information about the Mailman-Users mailing list