On Tue, 23 Jan 2007, Peter Bowyer wrote:
> > > > hosts = +nets
> > > >
> > > > Remote relay connects from host 10.10.10.1.
> > > >
> > > > How I can determine address of network which contains 10.10.10.1 after
> > > > such 'hosts' condition succeeded?
> > >
> > > $sender_host_address
> >
> > $sender_host_address is not a address of network. This is an address of
> > remote host. I need subnet address.
You can test for an individual network:
${if match_address{$sender_host_address}{10.10.10.0/24}...
--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book