1) From looking at the install docs, I think rsync is included when QMT is installed, but it is not part of default install as I just checked.

2) I will make the necessary adjustments when ready.

3) Suppose we'll find out, as I haven't found anything regarding this admin pass.

Thanks again, Eric, I'll keep the list posted as to progress.


On 4/7/2017 11:12 AM, Eric Broch wrote:
1) I think I install rsync when QMT is installed, maybe its done by default on minimal install, not sure.

2) Yes for spamassassin rsync from /etc/mail/spamassassin to /etc/spamassassin this changed with QMT on CentOS 6

3) I suppose that the admin password does not have to be the same. I must have had a mind slip. :-P


On 4/7/2017 8:59 AM, Sean Murphy wrote:
Eric,

That list looks good, except:

/etc/spamassassin should be /etc/mail/spamassassin, unless it's different on CentOS7.

I'm unsure as to the MariaDB admin password on the current machine as my predecessor set it up.

I will poke around my docs and see if I can find anything. And, I didn't realize rsync was not in default install in minimal. Weird.

Thanks again, Eric, this is very helpful.  Everybody here is the best.

-Sean

On 4/7/2017 10:44 AM, Eric Broch wrote:
Hi Sean,

Off the top of my head I do the following:

On the QMT/COS7 Install make the MariaDB admin password the same as on your old machine.

1) Install rsync on both machines

2) Make ssh work without password

# How to make the below rsync ssh command work without a password
# exec ssh-agent bash
# ssh-keygen
# ssh-copy-id 'new server ip'
# ssh 'new server ip'

3) I rsync the CONTENTS of the following folders, old server to new

/var/lib/squirrelmail/prefs
/usr/share/spamassassin
/etc/spamassassin
/etc/tcprules.d
/var/qmail/control
/var/qmail/users
/home/vpopmail/domains

rsync --progress --delete -var -e ssh ${folder}/ $REMOTEUSER@$REMOTEHOST:${folder}

4) Dump vpopmail mysql database on old server and restore on new.

At this point you should be able to connect to the new server from mail clients.

5) Secure qmailadmin and vqadmin /etc/httpd/conf/toaster.conf for CentOS 7 ( http://www.qmailtoaster.com/notes.html)

Hope I'm not forgetting anything.


Eric






On 4/7/2017 7:10 AM, Sean Murphy wrote:
Good day all,

I've finally acquired a "new" machine to house our current install of the toaster, installed CentOS 7 and ran all available updates, and rounded up the preparatory files for the install. I will most likely install qmailtoaster and take it on a test drive before migrating our current install to the new box. I would like to inquire on the best way to do this, since the current install is on a CentOS 5 box and we are running Courier instead of Dovecot. Should I restore from a backup, or should I recreate the domain on the new box? I'm in no hurry, the current install is performing like a champ, and I have a backup machine in place should something go awry before the new machine is ready. Any advice or horror stories would be greatly appreciated.

Thanks!

-Sean


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to