You'll probably need to rebuild the list archives (IIRC, most Mailman pages are 
just static). You'll probably want to run list_lists, and for each list, run 
arch --wipe listname something-or-other), to recreate all the HTML (which will 
include a bunch of links on virtually every page).

Restarting the Mailman processes won't hurt, but might not fix all your issues.

As long as you have the original mbox files (to recreate the list archives), 
and configurations (listname/config.pck), it's hard to screw things up too 
badly.

David Smith




-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Lynda
Sent: Friday, October 26, 2012 1:42 PM
To: Lopsa Discussion
Subject: [lopsa-discuss] Looking for mailman and python help

I've been trying to move a mailing list from one server to another. The list 
was hosted on a server that had cpanel, and I have backups from it. 
I followed (with some assistance from a friend who has a working mailman
install) the "how to move a mailman list" from a debian site. It's currently 
being hosted on debian (not my choice, but that's the way it is), so I figured 
that would be closer to what I needed.

The machine is actually a virtual server, but I do not think that's causing any 
issue. The version of mailman is 2.1.1.5 (if that makes a difference). The 
previous install used urls that are cooked into the configuration, and the 
current one is adding something that keeps any of the links from working. I 
found this reference:

http://wiki.nginx.org/Talk:Mailman

> Don't works for me on Ubuntu Maverick (nginx 0.7.67-3ubuntu1, mailman 
> 1:2.1.13-4), showing 403 for every mailman script, logs get a "Cannot 
> get script name, is DOCUMENT_ROOT and SCRIPT_NAME set and is the 
> script executable?". Gionn 19:26, 22 January 2011 (MSK)

> Ok, I've just discovered that the problem was simply mailman 
> generating wrong urls. I changed /etc/mailman/mm_cfg.py from:
>
> DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
>
> to:
>
> DEFAULT_URL_PATTERN = 'http://%s/mailman/'

I changed this file, and restarted apache, but I probably need to do more. 
Please note that I'm looking for pity and mercy, here. I don't write python, 
and I don't do a lot of technical work any more (which means that I'm really 
rusty in this). I was enormously grateful to discover check_perms, which helped 
me with permission issues, but I either need to restart the mailman qrunner 
stuff (and cross my fingers that the change above fixes things, without 
breaking other things), or figure out a way to fix the URLs already contained 
in the list.

--
Think about how stupid the average person is, then realize that half of them 
are stupider than that.

George Carlin
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators  
http://lopsa.org/
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to