Greetings postfix gurus, 

I have a modest postfix server; my own mailbox  has thousands of
messages, but most boxes have hundreds or even less.  But, I want to
migrate to a new server which also runs postfix, but uses mysql for
some storage, and perhaps even mail message storage itself.  

If I wanted to migrate with the flat-file message system I am using
now, I could just shut down the primary mailserver and let a backup 
mailserver pick up the mail while I move the old mailboxes, right?
Then I can repoint the primary mailserver DNS A record, start up the 
new server, and watch the newest batch of mail pour in, right?

If I wanted to use mysql to store the mail, I'll have to send it over
to the new mail server some other way to get it stored into mysql.  I
could perhaps write a little code to do it, but I would rather use a
built-in mechanism.  

Is there any way to re-process already delivered mail?  I would very
much like to update the MX records for all hosted mail domains and then
tell the old server to requeue all the mail in all the boxes.  I could
forsee the server picking up all this old mail and faithfully sending
it to the listed MX for the domain, which would by then be the new
server.

Is something like that available, or would I have to script it myself? 

Thanks, 

        Dan Farrell

Reply via email to