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

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