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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Heiko Schlittermann
日付:  
To: exim-users
題目: 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