Re: [exim] list router

Top Pagina
Delete this message
Reply to this message
Auteur: Tony Finch
Datum:  
Aan: Brent Clark
CC: exim
Onderwerp: Re: [exim] list router
On Wed, 19 Oct 2005, Brent Clark wrote:
>
> lists:
>         condition = ${lookup {$local_part} \
>                    lsearch {/etc/exim/lists} \
>                    {no}{yes}}


Never use the condition precondition without first reviewing the other
preconditions, so that you can avoid a string expansion if at all
possible. For example,

    local_parts = ! lsearch;/etc/exim/lists


>         search_type = lsearch*


Ah, but you are using Exim 3, which has not been supported for years.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}