On Thu, Dec 1, 2011 at 4:02 PM, Simon Brereton < simon.brere...@buongiorno.com> wrote:
> On 1 December 2011 04:56, Roland de Lepper <roland.de.lep...@gmail.com> > wrote: > > Hi, > > > > Where're planning to migrate postfix from Suse to Ubuntu 10.04 LTS. The > > Postfix version on Suse has an higher version number than in Ubuntu > 10.04LTS > > (2.7.2 - 2.7.0). > > > > Because of the migration we have to shutdown the MySQL server to make a > full > > dump of it and import is on the new mailserver. In the meantime, all mail > > coming to the old-mailserver will be stored in the HOLD queue. > > When the new Mailserver is ready (with the same hostname and > > public-ipaddress) I want to copy the HOLD queue from the old mailserver > to > > the new mailserver, then do a postsuper -r ALL to deliver the messages on > > the new mailserver. > > I can't tell you. But why not stop postfix BEFORE you stop the database? > > That way every (legitimate) sending server will hold outgoing mail for > up to 5 days and you can then copy your DB in peace, move it to the > new box, set it up, make sure it's working and generally not operate > under any time pressure (so long as you warn your users there is an > outage window). > > Simon > The problem is that we have tons op applications mailing to the mailserver and I gues they do not hold the mail 5 days ;-) I tested my solution to copy the HOLD queue to the new server, set the permissions to postfix and released the mails in that queue. (postsuper -r ALL). This worked, so my question is already answered. Thanks anyway. Kind regards, Roland