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.