Eli wrote:
> Dean wrote:
>   
>>> You can't convert that in to a simple value to put in to a variable.
>>>       
>> Yes, you can.  I wrote a patch to do exactly that, and it solved the
>> problem I was having.  The format was essentially:
>>     
>
> I meant the entirety of the data stored for the ratelimit entry for a 
> particular key.  If they want just one part of that, then obviously yes it 
> could be retrieved as a single value.
>
> I suppose that if you retrieve all the data and separate it with a 
> separator, then you could extract parts you wanted as you stated, but I had 
> no idea what data Marc wanted, or expected to have.
>
>
>   

I Tried this to see if I could read without adding to the total - but it 
didn't work. The $sender_rate is blank.

accept    add_header = X-Ratelimit: $sender_rate
    ratelimit = 20 / 10m / test-$sender_host_address
    condition = false


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to