Re: [exim] Exim4 route based on senders IP address

Top Pagina
Delete this message
Reply to this message
Auteur: Mike Brudenell
Datum:  
Aan: Exim Users
Onderwerp: Re: [exim] Exim4 route based on senders IP address
On 6 June 2016 at 15:46, Heiko Schlittermann <hs@???> wrote:

>     from_rfc1918:

>
>         driver = manualroute
>         condition = ${if match{$sender_host_address}{10.0.0.0/8 :
> 172.16.0.0/12 : 192.168.0.0/16}}
>         route_data = smarthost
>         transport = remote_smtp

>


I'm just checking… I thought "match" compared strings, and you'd actually
want match_ip in the above condition?

Cheers,
Mike B-)


--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web: www.york.ac.uk/it-services
Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm