Autor: Dave C. Data: Para: exim-users Assunto: Re: [Exim] self = ?
Well, I went off-the-cuff like I tend to to some times, and made the
changes on the live server, and did some tests which seem to indicate
it works exactly as I wanted.
On Thu, 25 May 2000, Dave C. wrote:
>
> Exim 3.13
>
> I have a list of domains, that I want to apply a route_file to, but
> ONLY if the MX record for the domain being routed has an MX record that
> points to this host.
>
> I currently have this working as follows (except it always catches the
> domains in the file, wether the MX record points at us or not)
>
> some_domains:
> driver = domainlist
> domains = lsearch;/etc/exim/some.domains
> route_file = /etc/exim/some.domains
> search_type = lsearch
> transport = remote_smtp
>
> lookuphost:
> driver = lookuphost
> transport = remote_smtp
>
>
> ---------------
>
> If I change them as follows, and put lookuphost first, will this
> accomplish what I'm trying to do? It seems like it should, from the
> paragraph I pasted below about the generic 'self' option..
>
> lookuphost:
> driver = lookuphost
> transport = remote_smtp
> self = fail_soft
> no_more
>
> some_domains:
> driver = domainlist
> domains = lsearch;/etc/exim/some.domains
> route_file = /etc/exim/some.domains
> search_type = lsearch
> transport = remote_smtp
>
>
>