Wrong domain in public archives

Bug #265953 reported by Robbrandt
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

I *think* I've found a bug in 2.12.

I've had a longstanding issue with all of my mailing
lists pointing to the wrong domain for mail archives.
When I originally set up the server, used an initial
"recreational" domain name not intended to be used
widely. The intention was to switch to the real domain
names later once the server went live. I did that, but
all of the URLs for archives (only archives) still
pointed to the stupid domain name.

I intended to fix this in 2.12 by using the fix_url
function while I was also fixing a bunch of other
stuff. I've needed to move some of my lists to other
domains anyway, so this seemed like a good time. So I
ran fix_url over almost all of my domains, and tested
them as I went. Everything went as planned, except
some of them still had the archives pointing to the
recreational domain.
 Then it dawned on me that the ones that didn't get
fixed were all *public* archives; the ones that did get
fixed were all private.

I went to one of the public archives and switched it to
private, and the URL to the archives was then OK!
Switched it back to public and it was wrong again.

So, it seems that this is a bug. Or I've missed a
configuration setting somewhere.

Thanks

Rob

[http://sourceforge.net/tracker/index.php?func=detail&aid=784888&group_id=103&atid=100103]

Tags: pipermail
Revision history for this message
Tokio Kikuchi (tkikuchi) wrote :

Have you defined your (url_host, mail_host) pair in your
mm_cfg.py ? You should state like:
add_virtualhost('www.virtual.dom', 'mail.virtual.dom')

Revision history for this message
Robbrandt (robbrandt) wrote :

The problem is resolved, with great help from Richard
Barrett. For the sake of posterity, let the bug archives show:

* Be sure you have proper virtual host mapping
(add_virtualhost()) in mm_cfg.py;
* Be sure that the list setting for "Host name this list
prefers for email" is in fact your mail exchange address,
not a base URL for browsing (which was my problem);
* Run fix_url.py

Revision history for this message
Barry Warsaw (barry) wrote :

Close as per the 2003-08-11 16:46 comments.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.