Re: [Exim] effective use of .forward files

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: scott
Ημερομηνία:  
Προς: Philip Hazel
Υ/ο: 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