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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] Exim4 route based on senders IP address
Mike Brudenell <mike.brudenell@???> (Di 07 Jun 2016 10:42:02 CEST):
> 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?


Yes, of course. I meant 'match_ip'.
Thank you for checking.
--
Heiko