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

Inizio della pagina
Delete this message
Reply to this message
Autore: Heiko Schlittermann
Data:  
To: exim-users
Oggetto: Re: [exim] Wildcards in /etc/staticroutes ?
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.

--
Heiko :: dresden : linux : SCHLITTERMANN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B