LinuxQuestions.org
Register a domain and help support LQ
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, 03:39 AM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Linux Mint, FreeBSD, Android
Posts: 355

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, 12:26 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 338

Rep: Reputation: 56
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 12:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:20 AM
[SOLVED] moving mysql databases from old hdd cr33dy Linux - Server 5 03-27-2010 09:37 AM
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 10:54 PM
Moving MySQL databases. lord-fu *BSD 1 04-05-2006 01:28 PM
Moving server - Mail Accounts - Postfix ]SK[ Linux - Software 1 03-26-2005 11:28 AM


All times are GMT -5. The time now is 04:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration