Re: [Exim] "driver" concept?

Pàgina inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
A: JP Kelly
CC: Derek Simkowiak, exim-users
Assumpte: Re: [Exim] "driver" concept?
JP Kelly wrote:
> Here is a router from my configure file:
>
> catch_all:
>     driver = redirect
>     data = admin@${lookup mysql {SELECT domain FROM domains \
>         WHERE type="local" and domain="${domain}" }}

>
> regarding the part "driver = redirect"
> what exactly does it do/mean?


it means "use the a redirect-router for this".

> I presume it redirects or tells the router to redirect.
> where does it redirect from and to?


this router would redirect anything to admin@(whatever the mysqllookup
yields).

> what tells it where to redirect to?


data =

> I am sure this is pretty basic stuff but the router syntax is just not
> very intuitive to me.


it's very well explained in spec.txt and on the website.