Re: [Exim] effective use of .forward files

Page principale
Supprimer ce message
Répondre à ce message
Auteur: scott
Date:  
À: Philip Hazel
CC: exim-users
Sujet: 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