Re: [exim] Exim migration

Pàgina inicial
Delete this message
Reply to this message
Autor: John Hall
Data:  
A: exim-users
Assumpte: Re: [exim] Exim migration
On 5/25/06, Andreas Barth <aba@???> wrote:

> * Pat Hastings (pat.hastings@???) [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