Re: [exim] Wildcards in /etc/staticroutes ?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Scott Neader
Datum:  
To: exim-users
Betreff: Re: [exim] Wildcards in /etc/staticroutes ?
Thank you, Heiko. My router was using "lsearch" not "partial-lsearch" -- I
will experiment with partial-lsearch and see how this works.

Many thanks!

- Scott

On Thu, Jun 30, 2011 at 4:00 AM, Heiko Schlittermann <hs@???>wrote:

> Scott Neader <scott@???> (Wed Jun 29 19:38:47 2011):
> > I'm trying to do some custom routing for mail being sent to
> roadrunner.com.
> > Unfortunately, they give their users subdomain emails, like @cfl.rr.com,
> @
> > wi.rr.com, @tampabay.rr.com, etc.
> >
> > I've tried putting this into /etc/staticroutes
> >
> > *.rr.com: 1.2.3.4
>
> Your router should do an
>
>    ${lookup{$domain}partial-lsearch{/etc/staticroutes}}
>                     ~~~~~~~~

>
> Then you may even mix
>
>    *.rr.com:   1.1.1.1
>    wi.rr.com:  1.1.1.2

>
>
> The order does not matter.