Re: [exim] Block connections based on HELO

Etusivu
Poista viesti
Vastaa
Lähettäjä: Juan Bernhard
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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.