[exim] memcached

Góra strony
Delete this message
Reply to this message
Autor: Mike Cardwell
Data:  
Dla: exim users
Temat: [exim] memcached
Hi,

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)

--
Mike Cardwell
(https://secure.grepular.com/) (http://perlcv.com/)