Re: [exim] Rate Limit Question

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim users
Subject: Re: [exim] Rate Limit Question
Marc Perkel wrote:
> Here's the situation. I get a dictionary attack from an IP address. So
> what I want to do is count bad recipients so that every time I get a bad
> recitient from an IP address I add 1 to the count.
>
> In a separate ACL I want to look at the count and if it is greater than
> my limit I want to do a defer. But I don't want the defer test to affect
> the count. But I'm not seeing a way to test a count without adding to
> the count.
>
> The idea here is to have one ACL affect the count but a different ACL to
> test the cout without affecting it.


Copy $sender_rate to an acl var after doing a ratelimit condition which
takes no action. Test that acl val any time later.

- Jeremy