Re: [exim] Block connections based on HELO

Inizio della pagina
Delete this message
Reply to this message
Autore: Juan Bernhard
Data:  
To: exim-users
Oggetto: 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.