On 5/25/06, Andreas Barth <[EMAIL PROTECTED]> wrote:

> * Pat Hastings ([EMAIL PROTECTED]) [060525 17:31]:
> > When the migration is finished (about 8 hours) the plan is to set the
> > forwarding ip address to the new mailserver. This should then allow the
> > all the emails to be delivered.
>
> Make sure you don't send DSNs back during the 8 hours, as the default
> time is usually 4 hours for the warning. You might also consider to catch
> the mails by a special rule in exim.conf that freezes them, and then
> thawn them after you are done. (And making the freeze-rule depending on
> the existance of a special file, which can just be deleted to allow the
> mails through then.)

Even easier is just to put 'freeze' in the system filter:

  # Exim filter
  freeze

and then once everything else is up, remove it and unfreeze
everything. You could even unfreeze e-mails a little at a time:

$ exiqgrep -zi | head -n 100 | xargs exim -M

would unfreeze and deliver 100 e-mails at a time.

Cheers,
John

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to