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