Brilliant; I had read the director page in the wiki but didn't see it there & a search of the wiki text doesn't show up the option - perhaps you could add it or is there another place to see a list of director options?
Mark
From: Timo Sirainen [tss@iki.fi] Sent: 30 January 2012 13:58 To: Mark Zealey Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Director to keep redirecting users to the same server even after all sessions closed?
On 30.1.2012, at 15.32, Mark Zealey wrote:
Just wondering how easy it would be to make the director continue to send a user to the same server (assuming it's still in the pool) for say 90 seconds after they have last been active (ie lmtp or pop/imap)? Basically we are working in quite a heavily cached environment so it takes perhaps 60-90 seconds for our imap servers to properly flush to our network storage meaning if the user got put on a different server in that time we would see some issues. Presently we have fixed proxying, but I'd really like to use the director if possible to allow us to more easily add & remove servers.
Already done, and enabled by default:
# How long to redirect users to a specific server after it no longer has # any connections. #director_user_expire = 15 min
I added this mainly to make sure that all attribute caches have timed out.