Great Circle Associates Majordomo-Users
(August 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: 'move' a list from one domain to another
From: jim barchuk <jb @ jbarchuk . com>
Date: Fri, 21 Aug 1998 09:59:35 -0400 (EDT)
To: majordomo-users @ greatcircle . com

Hello All!

I need to move a live list from one (virtual) domain to another. The virtual is
essentially moot, both domains exist on the same box and I have full control.

My concern is making it happen as painlessly as possible for the users. My
intuitive WAG is that I would like to run a script that stops sendmail, copies
a few files, and starts sendmail. Here's a bit of a checklist that seems to
make sense to me.

(The '*.new' files named are config files with appropriate adjustments already
applied.)

~/lists.domainTwo/ already has new 'static' config and info files. I need to
move the dynamic files automatically.

====
#!/bin/sh

/etc/rc.d/init.d/sendmail.init stop

cp /etc/virtusertable.new /etc/virtusertable
cp /etc/majordomo.aliases.new /etc/majordomo.aliases
makemap hash /etc/virtusertable < /etc/virtusertable
newaliases

cp -p ~/lists.domainOne/listname ~/lists.domainTwo/listname
cp -p ~/lists.domainOne/listname.archive/* ~/lists.domainTwo/listname.archive

/etc/rc.d/init.d/sendmail.init start
====

...followed by a manual post to the list regarding the new list To: address.
There might be a small number of bounces for already-intransit-incoming
messages, but this is a low volume list and I'm not too concerned about that.

There are two other details such as the hourly mhonarc script, and a web page
with list info, but they're much less 'live' than the list itself.

There are no digests for this list for me to be concerned about.

Obviously I've got to -know- that the *.new files are 'good', but that's hardly
rocket science.

Do I seem to have left anything out? Comments appreciated.

Thanks much. Have a :) day!

jb

-- 
jim barchuk
jb@jbarchuk.com




Follow-Ups:
Indexed By Date Previous: Re: Passwords
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: Re: Passwords
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: FAQ: Why aren't my digests going out?
From: "St.Einar" <st.einar@bigfoot.com>
Next: Re: 'move' a list from one domain to another
From: Rich Pieri <rich.pieri@prescienttech.com>

Google
 
Search Internet Search www.greatcircle.com