| 1 ## |
1 ## |
| 2 ## dovecot.conf -- Dovecot server configuration |
2 ## dovecot.conf -- Dovecot server configuration |
| 3 ## |
3 ## |
| 4 |
4 |
| 5 protocols = imap |
5 protocols = imap pop3 sieve |
| 6 |
6 |
| 7 protocol imap { |
7 service imap-login { |
| 8 listen = 127.0.0.1:143 |
8 protocol = imap |
| 9 ssl_listen = 127.0.0.1:993 |
9 inet_listener imap { |
| 10 log_path = @l_prefix@/var/dovecot/log/imap-error.log |
10 address = 127.0.0.1 |
| 11 info_log_path = @l_prefix@/var/dovecot/log/imap-info.log |
11 port = 143 |
| 12 login_executable = @l_prefix@/libexec/dovecot/imap-login |
12 } |
| 13 mail_executable = @l_prefix@/libexec/dovecot/rawlog @l_prefix@/libexec/dovecot/imap |
13 inet_listener imaps { |
| |
14 address = 127.0.0.1 |
| |
15 port = 993 |
| |
16 } |
| |
17 client_limit = 256 |
| |
18 process_limit = 128 |
| |
19 process_min_avail = 4 |
| |
20 user = @l_musr@ |
| |
21 } |
| |
22 |
| |
23 service pop3-login { |
| |
24 protocol = pop3 |
| |
25 inet_listener pop3 { |
| |
26 address = 127.0.0.1 |
| |
27 port = 110 |
| |
28 } |
| |
29 inet_listener pop3s { |
| |
30 address = 127.0.0.1 |
| |
31 port = 995 |
| |
32 } |
| |
33 client_limit = 256 |
| |
34 process_limit = 128 |
| |
35 process_min_avail = 4 |
| |
36 user = @l_musr@ |
| |
37 } |
| |
38 |
| |
39 service managesieve-login { |
| |
40 protocol = sieve |
| |
41 inet_listener sieve { |
| |
42 address = 127.0.0.1 |
| |
43 port = 4190 |
| |
44 } |
| |
45 client_limit = 256 |
| |
46 process_limit = 128 |
| |
47 process_min_avail = 4 |
| |
48 user = @l_musr@ |
| |
49 } |
| |
50 |
| |
51 service auth { |
| |
52 unix_listener auth-master { |
| |
53 mode = 0660 |
| |
54 } |
| |
55 unix_listener auth-client { |
| |
56 mode = 0660 |
| |
57 } |
| |
58 unix_listener auth-userdb { |
| |
59 mode = 0660 |
| |
60 } |
| 14 } |
61 } |
| 15 |
62 |
| 16 ssl = yes |
63 ssl = yes |
| 17 ssl_cert_file = @l_prefix@/etc/x509/example-server.crt.pem |
64 ssl_ca = <@l_prefix@/etc/x509/example-ca.crt.pem |
| 18 ssl_key_file = @l_prefix@/etc/x509/example-server.key.pem |
65 ssl_cert = <@l_prefix@/etc/x509/example-server.crt.pem |
| |
66 ssl_key = <@l_prefix@/etc/x509/example-server.key.pem |
| 19 |
67 |
| 20 log_path = @l_prefix@/var/dovecot/log/dovecot-error.log |
68 mail_location = mbox:~/.mail:INBOX=~/.mail/inbox:INDEX=~/.mail |
| 21 info_log_path = @l_prefix@/var/dovecot/log/dovecot-info.log |
|
| 22 log_timestamp = '%b %d %H:%M:%S ' |
|
| 23 |
|
| 24 login_user = @l_nusr@ |
|
| 25 login_processes_count = 4 |
|
| 26 login_max_processes_count = 128 |
|
| 27 login_max_connections = 256 |
|
| 28 |
|
| 29 mail_location = mbox:~/.mail:INBOX=~/.mail/inbox |
|
| 30 mail_uid = @l_rusr@ |
69 mail_uid = @l_rusr@ |
| 31 mail_gid = @l_rusr@ |
70 mail_gid = @l_rusr@ |
| 32 mail_privileged_group = @l_rusr@ |
71 mail_privileged_group = @l_rusr@ |
| 33 mbox_read_locks = fcntl |
72 mbox_read_locks = fcntl |
| 34 mbox_write_locks = fcntl |
73 mbox_write_locks = fcntl |
| 35 |
74 |
| |
75 plugin { |
| |
76 sieve_dir = ~/.mail/.sieve |
| |
77 sieve = ~/.mail/.sieve.active |
| |
78 } |
| |
79 |
| 36 auth_realms = example.com |
80 auth_realms = example.com |
| 37 auth_default_realm = |
|
| 38 auth_verbose = yes |
81 auth_verbose = yes |
| 39 disable_plaintext_auth = no |
82 disable_plaintext_auth = no |
| 40 |
83 |
| |
84 auth_mechanisms = plain login |
| 41 auth_debug = no |
85 auth_debug = no |
| 42 auth_debug_passwords = no |
86 auth_debug_passwords = no |
| 43 mail_debug = no |
87 mail_debug = no |
| 44 verbose_ssl = no |
88 verbose_ssl = no |
| 45 |
89 |
| |
90 default_login_user = @l_musr@ |
| |
91 default_internal_user = @l_rusr@ |
| |
92 |
| 46 protocol lda { |
93 protocol lda { |
| 47 postmaster_address = postmaster |
94 postmaster_address = postmaster |
| 48 log_path = @l_prefix@/var/dovecot/log/deliver-error.log |
|
| 49 info_log_path = @l_prefix@/var/dovecot/log/deliver-info.log |
|
| 50 } |
95 } |
| 51 |
96 |
| 52 auth default { |
97 passdb { |
| 53 mechanisms = plain login |
98 driver = passwd |
| 54 passdb passwd { |
|
| 55 } |
|
| 56 userdb passwd { |
|
| 57 } |
|
| 58 socket listen { |
|
| 59 master { |
|
| 60 path = @l_prefix@/var/dovecot/run/auth-master |
|
| 61 mode = 0600 |
|
| 62 user = @l_rusr@ |
|
| 63 group = @l_rugrp@ |
|
| 64 } |
|
| 65 client { |
|
| 66 path = @l_prefix@/var/dovecot/run/auth-client |
|
| 67 mode = 0660 |
|
| 68 user = @l_musr@ |
|
| 69 group = @l_mgrp@ |
|
| 70 } |
|
| 71 } |
|
| 72 } |
99 } |
| 73 |
100 |
| |
101 userdb { |
| |
102 driver = passwd |
| |
103 } |
| |
104 |