Can I use memcache with eval for imap

I am using ngnix as a Load balancer for two imap servers.
I want to store the userlist in a memcache and look it up through
nginx.conf

How do I do this ?

Thanks
Ram

Posted at Nginx Forum: