Author: list1@dnsbureau.com Date: To: exim-users Subject: Re: [exim] lsearch
Tony Finch wrote: > On Thu, 29 Jun 2006, list1@??? wrote:
>
>
>> 328 check senders = lsearch;/usr/local/exim/bouncelist
>> 328 address match: subject=captainnet@??? pattern=lsearch;/usr/local/exim/bouncelist
>> 328 search_open: lsearch "/usr/local/exim/bouncelist"
>> 328 search_find: file="/usr/local/exim/bouncelist"
>> 328 key="captainnet@???" partial=-1 affix=NULL starflags=0
>> 328 LRU list:
>> 328 :/usr/local/exim/bouncelist
>> 328 End
>> 328 internal_search_find: file="/usr/local/exim/bouncelist"
>> 328 type=lsearch key="captainnet@???"
>> 328 file lookup required for captainnet@???
>> 328 in /usr/local/exim/bouncelist
>> 328 lookup failed
>> 328 captainnet@??? in "lsearch;/usr/local/exim/bouncelist"? no (end of list)
>> 328 deny: condition test failed
>> 328 processing "deny"
>>
>
> Hm, that's rather unenlightening. What happens if you
> grep captainnet@??? /usr/local/exim/bouncelist
>
> Tony.
> Tony,
thanks a lot for your help. As it turns out, my "bouncelist" text file
had line breaks other than unix. Now that the file is resaved everything
is working as it should.