Re: [exim] Block connections based on HELO

Góra strony
Delete this message
Reply to this message
Autor: Juan Bernhard
Data:  
Dla: exim-users
Temat: Re: [exim] Block connections based on HELO

El 26/03/2015 a las 02:23 p.m., Jeremy Harris escibió:
> On 26/03/15 17:08, Scott Neader wrote:
>> drop
>>    condition = ${lookup{$sender_helo_name}lsearch{/etc/heloblocks}{no}{yes}}

>
> The ordering of no/yes looks suspect
>

Yap, it was wrong, change it. Try to test the string expansion with
exim -be '${lookup{FOO}lsearch{/home/juan/blacklist}{yes}{no}}'

Saludos, Juan.