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:
|
|