[exim] memcached

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim users
Sujet: [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/)