Re: [exim] Using readsocket for ratelimiting?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Perkel
Data:  
Para: Brent Jones
CC: exim-users
Assunto: Re: [exim] Using readsocket for ratelimiting?

On 4/10/2013 10:43 PM, Brent Jones wrote:
> Has anyone considered, or already made a rate limiting ACL using readsocket?
>
> Besides writing a simple daemon, I don't see any reason not to try this out.
> I envision sending various data to the daemon, like sender IP, recipients,
> sender address, then getting a pass/fail from the socket depending.
> On that pass fail, I guess you could wrap it in a defer or reject ACL,
> however you want.
>
> This way, the rate limit database doesn't need to reside on a single box,
> the socket daemon could use memcache or a proper DB.
>
> Any thoughts?
>



Post what you come up with. I've made simple "message collectors" using
socat to receive readsocket messages and append them to a file. Then
once a minute I gather up the data to use for various things like
building RBLs.