Συντάκτης: Peter Bowyer Ημερομηνία: Προς: Exim, Users Αντικείμενο: Re: [exim] temporaily rejected.... lowest numbered MX record points
to local host - permanent
On 14/12/06, Arkadiusz Miskiewicz <arekm@???> wrote: >
> temporaily rejected.... lowest numbered MX record points to local host
>
> How I can make this error permanent instead of just temporaily rejected?
You could construct a redirect router with a 'domains' condition using
the magic @mx_primary domainlist...
eg
reject_if_mx_ours:
driver=redirect
domains = @mx_primary
allow_fail
data = :fail: Some useful error text here
(untested - probably some pieces missing - use as an example, don't just copy)
This router would have to be carefully positioned after the router(s)
that deals with 'real' local domains, and before the one which deals
with 'remote' domains that was producing the temporary error.