On 09:25:11 - 25/04/01, Charles Cazabon wrote:
> Kris Kelley <[EMAIL PROTECTED]> wrote:
> > When a new domain is added to /var/qmail/control/locals and
> > /var/qmail/control/rcpthosts, is it possible to flush the queue in such a
> > way that any mail bound for that domain (before it became a local domain)
> > will be delivered locally? After updating the control files and then
> > HUPping and ALARMing qmail, the system is still trying to deliver the
> > messages remotely.
>
> No; as you've seen, the decision as to whether a message is to be delivered
> locally or remotely is made when the message is queued, not when a delivery
> takes place.
>
> > Playing with /var/qmail/control/smtproutes didn't help either.
>
> Hmmm. Even with something like "domain:127.0.0.1"?
>
And if the server was the best preference MX, then qmail would delivery the mail
remotely to itself, at which point the message would be delivered locally.
Peter Farmer
Senior Internet Systems Engineer
blueyonder - http://www.blueyonder.co.uk/