Re: [exim] Block connections based on HELO

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Juan Bernhard
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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.