Re: [Mailman-Users] Migration to new server, new domain name

2009-06-13 Thread Zhengquan Zhang
On Tue, Jun 09, 2009 at 11:33:11AM -0400, Duane Winner wrote:
 Hello,
 
 Can anybody point me to a document or explain to me what is necessary to
 complete these steps?

I am in the same position and hope somebody can point to a link to a
step by step tutorial or something like that.

-- 
Zhengquan

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] migrating hundreds of lists to another host

2009-06-05 Thread Zhengquan Zhang
On Thu, Jun 04, 2009 at 06:43:06PM +0100, Adam McGreggor wrote:
 On Wed, Jun 03, 2009 at 12:50:01PM -0500, Zhengquan Zhang wrote:
  Hi mailman list,
  
  Since our list server is getting old and dying, I plan to migrate list
  service to another host.
  
  mailman is working with a postfix setup. the migration will be temporary
  and once I setup a new server for the list I will move the lists back.
  
  My question is, how Can I minimize list downtime and allow for users to
  use the lists without any feeling the service has been moved to another
  host? for example, the hostname is different for the temporary host and
  others? I am clueless asto how to do this.
 
 So, ideally, you want to get something quick and dirty working for a
 few hours, whilst you commission and build/do final config of a new
 server?

Well, it is not a few hours, the old server still has other services
running, so I will gradually migrate all services seemlessly to the
temporary server and at the same time build a new server and get things
back to the new server.

 
 Two (and an half) ideas spring to mind:
 (a) rsync the mailman  mta configs over to $TEMPBOX, adjust
 Mailman default configs, fix-up URIs/mail addresses,
 set forwarding of Mailman addresses on $OLDMTA to $TEMPBOX,
 fix-up $HTTPD to proxy out Mailman stuff (vaguely)
 (b) Switch-off/disable (list)-mail on $OLDHOST, and rely on 
 secondaries until $NEWHOST is ready... 
 (c) Make your MTA just bounce back to listmembers, posting to your
 list addresses (listmembers, sort, uniq), saying something
 like Down for maint, try again in a couple of hours/check the
 status http://status.example.org pages.
 
 As I gather, $NEWHOST will be a replacement (with the same 
 hostname, ip addy, services c) to $OLDHOST.
 
 There's a bit of effort (even scripted) in doing (a), and it'll
 need to be undone/reversed when you bring $NEWHOST up. I'm a lazy
 sysadmin, so would probably go down (b) route. I might shove something
 out for info, (c), but depends how pressed for time I was/how long the
 move/build would take.

So it seems harder than I expected to really have the list services
migrate to another host seamlessly.

I will do more searching of the mailman-user archives.

 
 And I would have most of the new-machine built/config'd, so it would
 just be a case of downing, changing network settings, and bringing the
 new-machine up; should be 30mins; then however long to copy over
 Mailman's data/archives.

Thanks for your help, 

-- 
Zhengquan

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

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] migrating hundreds of lists to another host

2009-06-03 Thread Zhengquan Zhang
Hi mailman list,

Since our list server is getting old and dying, I plan to migrate list
service to another host.

mailman is working with a postfix setup. the migration will be temporary
and once I setup a new server for the list I will move the lists back.

My question is, how Can I minimize list downtime and allow for users to
use the lists without any feeling the service has been moved to another
host? for example, the hostname is different for the temporary host and
others? I am clueless asto how to do this.

Thanks for any pointers and enlightenments,

-- 
Zhengquan

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] howto rebuild the html files from mbox?

2009-05-31 Thread Zhengquan Zhang
On Fri, May 29, 2009 at 07:42:53AM -0700, Mark Sapiro wrote:
 Zhengquan Zhang wrote:
 
 I just found that one list we manage has failed to generate the
 individual html file for the web archive since 2008, I did the
 check_perms yesterday and got it working again. the problem is the 2008
 folder is still missing but fortunately we have the mbox file intact.
 
 -rw-rw-r-- 1 apache mailman 162M May 28 16:05 admin.mbox
 
 I checked and found all messages from 2008 and 2009 are in it.
 
 my question is how to regenerate the 2008 and 2009 folder and the txt
 files from the mbox file?
 
 bin/mailmanctl stop
 bin/arch --wipe admin
 bin/mailmanctl start
 
 See bin/arch --help and bin/cleanarch --help for more information.

Thanks a lot Mark,

-- 
Zhengquan

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

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] howto rebuild the html files from mbox?

2009-05-29 Thread Zhengquan Zhang
Hello mailman list,

drwxrwsr-x   2 apache  mailman  84K Oct 20  2004 2002/
-rw-rw-r--   1 apache  mailman 451M Sep 30  2007 2002.txt
drwxrwsr-x   2 apache  mailman  28K Oct 20  2004 2003/
-rw-rw-r--   1 apache  mailman  11M Oct 20  2004 2003.txt
drwxrwsr-x   2 apache  mailman  44K Dec 30  2004 2004/
-rw-rw-r--   1 apache  mailman 4.1M Dec 30  2004 2004.txt
drwxrwsr-x   2 apache  mailman 8.0K Dec 21  2005 2005/
-rw-rw-r--   1 apache  mailman 421K Dec 21  2005 2005.txt
drwxrwsr-x   2 apache  mailman 4.0K Oct 31  2006 2006/
-rw-rw-r--   1 apache  mailman  68K Oct 31  2006 2006.txt
drwxrwsr-x   2 apache  mailman 4.0K Dec 29  2007 2007/
-rw-rw-r--   1 apache  mailman  35K Dec 29  2007 2007.txt
drwxrwsr-x   2 mailman mailman 4.0K May 28 16:05 2009/
-rw-rw-r--   1 mailman mailman 2.1K May 28 16:05 2009.txt
drwxrwsr-x 307 apache  mailman 8.0K May 27 14:22 attachments/
drwxrws---   2 apache  mailman 4.0K May 28 16:05 database/
-rw-rw-rw-   1 apache  mailman 4.9K May 28 16:05 index.html
-rw-rw   1 apache  mailman  936 May 28 16:05 pipermail.pck

I just found that one list we manage has failed to generate the
individual html file for the web archive since 2008, I did the
check_perms yesterday and got it working again. the problem is the 2008
folder is still missing but fortunately we have the mbox file intact.

-rw-rw-r-- 1 apache mailman 162M May 28 16:05 admin.mbox

I checked and found all messages from 2008 and 2009 are in it.

my question is how to regenerate the 2008 and 2009 folder and the txt
files from the mbox file?

Thanks a lot,
-- 
Zhengquan

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

Security Policy: http://wiki.list.org/x/QIA9