Eduardo Diaz Comellas
2009-05-13 19:38:09 UTC
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.
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.
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.
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
${memcache{set}{key}{value}{timeout}}
${memcached{get}{key}}
But my solution is just as functional (less pretty)
Regardsmany useful applications for this. Its inbuilt ability to automatically
expire data after a time period would make it ideal for greylisting for
example.
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
${memcache{set}{key}{value}{timeout}}
${memcached{get}{key}}
But my solution is just as functional (less pretty)
--
Eduardo Diaz Comellas -- ***@ultreia.es
Ultreia Comunicaciones S.L.
Eduardo Diaz Comellas -- ***@ultreia.es
Ultreia Comunicaciones S.L.