Re: [exim] Block connections based on HELO

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Juan Bernhard
Dátum:  
Címzett: exim-users
Tárgy: 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.