We're going to be using nginx to do imap and pop3 proxying. As some of you know, we are the the mercy of the mail client as to the number of connections that we will see from a user's client. In extreme cases, if a user has 40 Folders, their client will create 1 connection for each folder. In this situation, we'll see 10s of connections for just 1 user.
I couldn't find any config settings to setup server-side (backend) connection pools. I'd love to set up nginx so that I get 1000s of incoming/client connections, but only a fraction of that to the backend mail servers. My goal is to avoid the 1:1 ration of connections.
Any help is greatly appreciated!
-James