[SA-exim] memcached for greylisting

Eduardo Diaz Comellas ediaz at ultreia.es
Wed May 13 12:38:09 PDT 2009


Hi!

In the exim users list it has been proposed to use memcached to store 
some values. As memcached implements record expiry natively, and can be 
easely shared in a network, it seems to be a great  option for greylisting.

This is the original post:

> I've managed to hook Exim into memcached using ${readsocket}. There are 
> many useful applications for this. Its inbuilt ability to automatically 
> expire data after a time period would make it ideal for greylisting for 
> example.
>
> If you want to see how I did it, see here:
>
> https://secure.grepular.com/blog/index.php/2009/05/13/accessing-memcached-from-exim/
>
> Ideally, Exim would have a native memcache interface letting you store 
> and retrieve values like this:
>
> ${memcache{set}{key}{value}{timeout}}
> ${memcached{get}{key}}
>
> But my solution is just as functional (less pretty)
>   
Regards

-- 
Eduardo Diaz Comellas -- ediaz at ultreia.es
Ultreia Comunicaciones S.L.




More information about the SA-Exim mailing list