memcached for greylisting

Eduardo Diaz Comellas <[email protected]> Wed, 13 May 2009 21:38:09 +0200
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
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 -- [email protected]
Ultreia Comunicaciones S.L.