Re: [Exim] Another wacky question

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dave C.
Päiväys:  
Vastaanottaja: Philip Hazel
Kopio: exim-users
Aihe: Re: [Exim] Another wacky question

I will note that I tried the idea I described (set it local, and use
the director to send it to an SMTP transport), and it works as desired.

Yet another one of the cool things about exim - more than one way to
accomplish the same task.

I've had an idea sort of rolling around in my head, which I'm wondering
if anyone else thinks would be a good idea for Phil to consider when he
goes to writing pre-release exim v4.00. Its a sort of major change, but
I think it might simplify some things:

Collapse directors and routers into one concept (and choose some
appropriate 'unified' name for them). All drivers and options that were
originally one or the other would be available.

One could use something like:

domains = $local_domains

to specify a an item which would only work on local domains, and extend
the syntax ala host-lists (if it isnt already) to allow

domains = ! $local_domains

to specify an item which would work only on non-local domains.

default would be UNSET....


On Fri, 12 May 2000, Dave C. wrote:

>
> On Fri, 12 May 2000, Philip Hazel wrote:
>
> > On Wed, 10 May 2000, Dave C. wrote:
> >
> > > I'd like to use directors to _verify_ addresses for a particular
> > > domain, but routers when doing actual deliveries..
> >
> > Leave the domain not local.
> >
> > Set up a router for this domain with verify_only set. Make it route to
> > the local host. Set self=local so the address gets passed to the
> > directors.
> >
> > Set up a director with verify_only and no_more set, to verify these
> > addresses.
> >
> > Then actual deliveries will use the other routers.
>
> Hrm.. Ok.. I had actually done some more thinking, and was considering
> making the domain local, and setting up as follows..
>
> DIRECTOR:
>
> verify_mydomain:
> driver = localuser
> domains = mydomain.com
> transport = smtp_special
>
> TRANSPORT:
>
> smtp_special:
> driver = smtp
> hosts = "mydomain.com"
> hosts_override = true
>
> Would this work? The spec says that the smtp transport does MX
> processing on the hosts= values, as long as gethostbyname is false,
> which is default
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--