Nginx configuration for imap

Robert Mueller robm at
Wed Mar 17 23:36:16 EDT 2010

> $user['user1'] =;
> $user['user2'] =;
> ----
> $user[user15000]=;
> For 15k users this method becomes very heavy. There are too many httpd
> processes running that suck the resources on the machine. I want to
> store the userlist in a memcache and look it up through nginx.conf
> How do I do this ?

Don't use memcache, it's a *cache*, you want a *database*. So
just use a database to store the data, and look it up for each
user. eg.

Choose your favourite key/value db here...


Rob Mueller
robm at

More information about the Info-cyrus mailing list