10-director.conf.erb 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ##
  2. ## Director-specific settings.
  3. ##
  4. # Director can be used by Dovecot proxy to keep a temporary user -> mail server
  5. # mapping. As long as user has simultaneous connections, the user is always
  6. # redirected to the same server. Each proxy server is running its own director
  7. # process, and the directors are communicating the state to each others.
  8. # Directors are mainly useful with NFS-like setups.
  9. # List of IPs or hostnames to all director servers, including ourself.
  10. # Ports can be specified as ip:port. The default port is the same as
  11. # what director service's inet_listener is using.
  12. #director_servers =
  13. # List of IPs or hostnames to all backend mail servers. Ranges are allowed
  14. # too, like 10.0.0.10-10.0.0.30.
  15. #director_mail_servers =
  16. # How long to redirect users to a specific server after it no longer has
  17. # any connections.
  18. #director_user_expire = 15 min
  19. # TCP/IP port that accepts doveadm connections (instead of director connections)
  20. # If you enable this, you'll also need to add inet_listener for the port.
  21. #director_doveadm_port = 0
  22. # To enable director service, uncomment the modes and assign a port.
  23. service director {
  24. unix_listener login/director {
  25. #mode = 0666
  26. }
  27. fifo_listener login/proxy-notify {
  28. #mode = 0666
  29. }
  30. unix_listener director-userdb {
  31. #mode = 0600
  32. }
  33. inet_listener {
  34. #port =
  35. }
  36. }
  37. # Enable director for the wanted login services by telling them to
  38. # connect to director socket instead of the default login socket:
  39. service imap-login {
  40. #executable = imap-login director
  41. }
  42. service pop3-login {
  43. #executable = pop3-login director
  44. }
  45. # Enable director for LMTP proxying:
  46. protocol lmtp {
  47. #auth_socket_path = director-userdb
  48. }