192 |
- |
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 |
# How the username is translated before being hashed. Useful values include
|
|
|
25 |
# %Ln if user can log in with or without @domain, %Ld if mailboxes are shared
|
|
|
26 |
# within domain.
|
|
|
27 |
#director_username_hash = %Lu
|
|
|
28 |
|
|
|
29 |
# To enable director service, uncomment the modes and assign a port.
|
|
|
30 |
service director {
|
|
|
31 |
unix_listener login/director {
|
|
|
32 |
#mode = 0666
|
|
|
33 |
}
|
|
|
34 |
fifo_listener login/proxy-notify {
|
|
|
35 |
#mode = 0666
|
|
|
36 |
}
|
|
|
37 |
unix_listener director-userdb {
|
|
|
38 |
#mode = 0600
|
|
|
39 |
}
|
|
|
40 |
inet_listener {
|
|
|
41 |
#port =
|
|
|
42 |
}
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
# Enable director for the wanted login services by telling them to
|
|
|
46 |
# connect to director socket instead of the default login socket:
|
|
|
47 |
service imap-login {
|
|
|
48 |
#executable = imap-login director
|
|
|
49 |
}
|
|
|
50 |
service pop3-login {
|
|
|
51 |
#executable = pop3-login director
|
|
|
52 |
}
|
|
|
53 |
service submission-login {
|
|
|
54 |
#executable = submission-login director
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
# Enable director for LMTP proxying:
|
|
|
58 |
protocol lmtp {
|
|
|
59 |
#auth_socket_path = director-userdb
|
|
|
60 |
}
|