I am in a similar situation. I am running on a Centos 5 with Courier and would 
like to move to a Centos 7 setup with Dovecot. I have a mix of pop and imap 
clients.
What would be the best way to convert the mailboxes to Dovecot after I copy 
them to the new machine?
Thanks,
Rick 

-----Original Message-----
From: Sean Murphy [mailto:sean.mur...@mobilcom.net] 
Sent: Friday, April 07, 2017 10:59 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Upgrade qmailtoaster to CentOS 7

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: 
>> qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: 
>> qmailtoaster-list-h...@qmailtoaster.com
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com





---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to