Patrick Ring wrote:
I've had a qmail toaster running problem-free (in a VMWare server) since
early 2005.  However, since the older machine it has been on was having
recent problems I decided it would be good to migrate to a new server
(with a new qmailtoaster and OS).

So, I loaded up a new CentOS 5.3 server on a ESXi host (mostly what I
run now), and successfully installed the latest Qmail-Toaster along with
Qmail-Toaster-Plus.
I read that it is possible to copy over the configs/mysql/data from old
to new,  and should have no problems,

If you hadn't upgraded the old toaster at all, I doubt that this would work. Certainly not the safest way to go.

but I also read it was best to upgrade (qtp-newmodel) before doing so.

It's always a good idea to run the latest release.

After pulling my hair out with several unsuccessful qtp-newmodel
attempts,

What were the problems? qtp-newmodel is pretty solid, and has run many times on COS5.3, on virtual machines (VMware Server, but not ESXi that I know of, although that should be transparent).

In addition, since you had built a fresh toaster, there should have been nothing for qtp-newmodel to do.

I decided to extract and copy over the following to the new
server:
/var/lib/squirrelmail/prefs/
/usr/share/squirrelmail/plugins/
/var/qmail/control/
/usr/share/toaster/include/admin.pass
/usr/share/toaster/include/admin.htpasswd
/home/vpopmail/  (all dirs/subdirs)
Mysqldump of vpopmail
/var/qmail/users/assign
/var/qmail/users/cdb

I would definitely not try to piecemeal a migration. qtp-backup and qtp-restore make migration pretty trivial.

I figured out that I needed to mod a couple of permissions and the "cdb"
file turned out to be important too, then I could easily log into the
admin-toaster web interface, and I could read mail via IMAP and/or
squirrelmail.  Currently POP3 is not authenticating, but the bigger
problem is that mail seems to be stacking up in the queue and not going
to the respective inboxes.

I've found that I also cannot "Read user mail" in the Webmin Qmail
interface (something I have been able to do as a diagnostic before). It
gives "You are not allowed to read email for any users on this system."

I'm not really sure what to look at next.  Help would be greatly
appreciated.

I'd start over, and use qtp-backup and qtp-restore to migrate the data over. That's the only way you'll know you have a stock (and stable) toaster.

Thank you,
Patrick Ring



--
-Eric 'shubes'


---------------------------------------------------------------------------------
                Managed Qmailtoaster servers are now available
      Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

    Please visit qmailtoaster.com for the latest news, updates, and packages.


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


Reply via email to