LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2014, 02:39 AM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Rep: Reputation: 32
Moving mysql databases to new server (ie, postfix)


Hello,

I have very little experience with managing mysql databases and I think I am missing some very basic information.

For the first time, I am trying to migrate a site to a new VPS host. Among other things:
  • I copied my postfix and postfixadmin config files to the new server
  • I exported the relevant database, "mail", on old server, imported it into the new.
  • I also exported and imported the User table from the mysql table
Alas, postfix and postfixadmin don't work. For example, I see this in the maillog:
Code:
Nov 22 09:31:47 [host] postfix/cleanup[8807]: warning: 2974750D320: virtual_alias_maps map lookup problem for ####@##.## -- message not accepted, try again later
I missing some key aspect of migrating a configuration like this. Can someone point me in the right direction?
 
Old 11-22-2014, 11:26 AM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Maybe try rehashing the "virtual_alias_maps"?

Execute the command "postmap /etc/postfix/virtual_alias_maps" after changing (moving) the virtual file, execute "postmap /etc/postfix/vmailbox" after changing (moving) the vmailbox file, and then reload postfix.

Maybe....

Last edited by ceyx; 11-22-2014 at 11:30 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After moving mysql db to NFS[netapp] unable to start mysql server throws error naveenrajn Linux - General 3 09-13-2010 02:20 AM
[SOLVED] moving mysql databases from old hdd cr33dy Linux - Server 5 03-27-2010 08:37 AM
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 09:54 PM
Moving MySQL databases. lord-fu *BSD 1 04-05-2006 12:28 PM
Moving server - Mail Accounts - Postfix ]SK[ Linux - Software 1 03-26-2005 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration