2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen## Director-specific settings.
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# Director can be used by Dovecot proxy to keep a temporary user -> mail server
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# mapping. As long as user has simultaneous connections, the user is always
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# redirected to the same server. Each proxy server is running its own director
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# process, and the directors are communicating the state to each others.
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# Directors are mainly useful with NFS-like setups.
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# List of IPs or hostnames to all director servers, including ourself.
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# Ports can be specified as ip:port. The default port is the same as
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# what director service's inet_listener is using.
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainen#director_servers =
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# List of IPs or hostnames to all backend mail servers. Ranges are allowed
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# too, like 10.0.0.10-10.0.0.30.
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainen#director_mail_servers =
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# How long to redirect users to a specific server after it no longer has
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# any connections.
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainen#director_user_expire = 15 min
76e1aaea9f7a4c1c9fa23119b3dd8fd6ee225ee2Timo Sirainen# How the username is translated before being hashed. Useful values include
76e1aaea9f7a4c1c9fa23119b3dd8fd6ee225ee2Timo Sirainen# %Ln if user can log in with or without @domain, %Ld if mailboxes are shared
76e1aaea9f7a4c1c9fa23119b3dd8fd6ee225ee2Timo Sirainen# within domain.
76e1aaea9f7a4c1c9fa23119b3dd8fd6ee225ee2Timo Sirainen#director_username_hash = %Lu
300e4e43ed1ca46d0614459161ca2fb460ef661aTimo Sirainen# To enable director service, uncomment the modes and assign a port.
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# Enable director for the wanted login services by telling them to
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen# connect to director socket instead of the default login socket:
b4ddb5b3c3722620a8fef387dd8c47bb411a5643Timo Sirainen# Enable director for LMTP proxying: