[Dovecot] Director to keep redirecting users to the same server even after all sessions closed?

Timo Sirainen tss at iki.fi
Mon Jan 30 15:58:37 EET 2012


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.




More information about the dovecot mailing list