Re: [Exim] Re: net-lsearch not available in expansion lookup…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas Steinmetz
Datum:  
To: exim-users
Betreff: Re: [Exim] Re: net-lsearch not available in expansion lookups?
Tore Anderson wrote:
> > ${lookup{${mask:$sender_host_address/24}}lsearch*{/path/to/file}}
>
> Because the above postulates that every network defined in my file
> is a /24-network, which isn't the case. I could repeat the lookup
> once for each possible netmask value inside an or{}, of course, but
> that isn't exactly pretty as it'll require a total of 65 individual
> conditions to be fully generic..


There's still 'perl', 'run' and 'readsocket' which you could use.

--
Andreas Steinmetz                       SPAMmers use robotrap@???