Re: [Exim] effective use of .forward files

トップ ページ
このメッセージを削除
このメッセージに返信
著者: scott
日付:  
To: Philip Hazel
CC: exim-users
題目: Re: [Exim] effective use of .forward files
On Thu, 2 Aug 2001, Philip Hazel wrote:

>2. If you have a huge number of these things, you can stick them in a
>file, and do
>
> if ${lookup{$h_from:}lsearch{/the/file}{yes}{no}} is yes then ...
>
>That's a slow linear search, but you could use a fast DBM or cdb lookup
>for better performance.


I don't expect to have a lot of entries, but the above example serves my
purpose well.

Thanks!
Scott