Auteur: Marc Perkel Date: À: David Restall - System Administrator CC: exim-users Sujet: Re: [exim] ACL nested too deep - possible loop
On 5/22/2010 12:38 AM, David Restall - System Administrator wrote: > Hi,
>
>
>> Marc Perkel wrote:
>>
>>> Been doing some recursion. I'll probably figure a way around this with a
>>> loop counter. However, it might be nice to add a few features to Exim to
>>> deal with recursion. Just like to throw out some ideas.
>>>
>>> The limit it 20. Maybe it would be nice to make it settable?
>>>
>>> Is there a recursion loop counter that I can read? If not - maybe there
>>> should be?
>>>
>>> Thoughts?
>>>
>>>
>> Thought?
>>
>> grep the source code...
>>
> ROTFL.
>
> I'd also suggest that if you're playing with recursion, you shouldn't
> need a loop counter. With recursion you should have a well defined
> problem so that you know it won't run out of resources and you should
> build checks into your algorithm so that it will throw an exception if
> it's passed out of band data.
>
> TTFN
>
Well, the loop counter or rather an ACL depth counter would be part of
the check if it were there.