Lines 1-11
Link Here
|
1 |
--- dovecot-example.conf.orig Fri Jun 18 19:25:31 2004 |
1 |
--- dovecot-example.conf.orig Tue Jul 13 10:56:55 2004 |
2 |
+++ dovecot-example.conf Mon Jun 21 11:15:52 2004 |
2 |
+++ dovecot-example.conf Fri Jul 23 13:41:17 2004 |
3 |
@@ -7,11 +7,11 @@ |
3 |
@@ -3,7 +3,7 @@ |
|
|
4 |
# Default values are shown after each value, it's not required to uncomment |
5 |
# any of the lines. Exception to this are paths, they're just examples |
6 |
# with real defaults being based on configure options. The paths listed here |
7 |
-# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var |
8 |
+# are for configure --prefix=%%PREFIX%% --sysconfdir=/etc --localstatedir=/var |
4 |
# --with-ssldir=/etc/ssl |
9 |
# --with-ssldir=/etc/ssl |
5 |
|
10 |
|
6 |
# Base directory where to store runtime data. |
11 |
# Base directory where to store runtime data. |
7 |
-#base_dir = /var/run/dovecot/ |
12 |
@@ -11,7 +11,7 @@ |
8 |
+base_dir = /var/dovecot/ |
|
|
9 |
|
13 |
|
10 |
# Protocols we want to be serving: |
14 |
# Protocols we want to be serving: |
11 |
# imap imaps pop3 pop3s |
15 |
# imap imaps pop3 pop3s |
Lines 14-20
Link Here
|
14 |
|
18 |
|
15 |
# IP or host address where to listen in for connections. It's not currently |
19 |
# IP or host address where to listen in for connections. It's not currently |
16 |
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces. |
20 |
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces. |
17 |
@@ -27,18 +27,18 @@ |
21 |
@@ -27,14 +27,14 @@ |
18 |
#pop3s_listen = |
22 |
#pop3s_listen = |
19 |
|
23 |
|
20 |
# Disable SSL/TLS support. |
24 |
# Disable SSL/TLS support. |
Lines 27-62
Link Here
|
27 |
# certificate, just make sure to update the domains in dovecot-openssl.cnf |
31 |
# certificate, just make sure to update the domains in dovecot-openssl.cnf |
28 |
-#ssl_cert_file = /etc/ssl/certs/dovecot.pem |
32 |
-#ssl_cert_file = /etc/ssl/certs/dovecot.pem |
29 |
-#ssl_key_file = /etc/ssl/private/dovecot.pem |
33 |
-#ssl_key_file = /etc/ssl/private/dovecot.pem |
30 |
+ssl_cert_file = %%SSLDIR%%/certs/dovecot.pem |
34 |
+#ssl_cert_file = /etc/ssl/certs/imapd.pem |
31 |
+ssl_key_file = %%SSLDIR%%/private/dovecot.pem |
35 |
+#ssl_key_file = /etc/ssl/private/imapd.pem |
32 |
|
36 |
|
33 |
# SSL parameter file. Master process generates this file for login processes. |
37 |
# SSL parameter file. Master process generates this file for login processes. |
34 |
# It contains Diffie Hellman and RSA parameters. |
38 |
# It contains Diffie Hellman and RSA parameters. |
35 |
-#ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat |
|
|
36 |
+ssl_parameters_file = %%SSLDIR%%/ssl-parameters.dat |
37 |
|
38 |
# How often to regenerate the SSL parameters file. Generation is quite CPU |
39 |
# intensive operation. The value is in hours, 0 disables regeneration |
40 |
@@ -68,11 +68,11 @@ |
41 |
# which login needs to be able to connect to. The sockets are created when |
42 |
# running as root, so you don't have to worry about permissions. Note that |
43 |
# everything in this directory is deleted when Dovecot is started. |
44 |
-#login_dir = /var/run/dovecot/login |
45 |
+login_dir = /var/dovecot/login |
46 |
|
47 |
# chroot login process to the login_dir. Only reason not to do this is if you |
48 |
# wish to run the whole Dovecot without roots. |
49 |
-#login_chroot = yes |
50 |
+login_chroot = yes |
51 |
|
52 |
|
53 |
## |
54 |
@@ -82,12 +82,12 @@ |
39 |
@@ -82,12 +82,12 @@ |
55 |
login = imap |
40 |
login = imap |
56 |
|
41 |
|
57 |
# Executable location. |
42 |
# Executable location. |
58 |
-#login_executable = /usr/libexec/dovecot/imap-login |
43 |
-#login_executable = /usr/libexec/dovecot/imap-login |
59 |
+login_executable = %%PREFIX%%/libexec/dovecot/imap-login |
44 |
+#login_executable = %%PREFIX%%/libexec/dovecot/imap-login |
60 |
|
45 |
|
61 |
# User to use for the login process. Create a completely new user for this, |
46 |
# User to use for the login process. Create a completely new user for this, |
62 |
# and don't use it anywhere else. The user must also belong to a group where |
47 |
# and don't use it anywhere else. The user must also belong to a group where |
Lines 71-77
Link Here
|
71 |
|
56 |
|
72 |
# Exception to above rule being the executable location. |
57 |
# Exception to above rule being the executable location. |
73 |
-#login_executable = /usr/libexec/dovecot/pop3-login |
58 |
-#login_executable = /usr/libexec/dovecot/pop3-login |
74 |
+login_executable = %%PREFIX%%/libexec/dovecot/pop3-login |
59 |
+#login_executable = %%PREFIX%%/libexec/dovecot/pop3-login |
75 |
|
60 |
|
76 |
## |
61 |
## |
77 |
## Mail processes |
62 |
## Mail processes |
Lines 111-135
Link Here
|
111 |
|
96 |
|
112 |
# Space-separated list of fields to cache for all mails. Currently these |
97 |
# Space-separated list of fields to cache for all mails. Currently these |
113 |
# fields are allowed followed by a list of commands they speed up: |
98 |
# fields are allowed followed by a list of commands they speed up: |
114 |
@@ -237,7 +237,7 @@ |
99 |
@@ -240,7 +240,7 @@ |
115 |
# arrives in half a hour, Dovecot closes the connection. This is still |
100 |
# outlook-pop3-no-nuls: |
116 |
# fine, except Outlook doesn't connect back so you don't see if new mail |
101 |
# Outlook and Outlook Express hang if mails contain NUL characters. |
117 |
# arrives. |
102 |
# This setting replaces them with 0x80 character. |
118 |
-#client_workarounds = |
103 |
-#client_workarounds = |
119 |
+client_workarounds = oe6-fetch-no-newmail outlook-idle |
104 |
+client_workarounds = oe6-fetch-no-newmail outlook-idle outlook-pop3-no-nuls |
120 |
|
105 |
|
121 |
# Dovecot can notify client of new mail in selected mailbox soon after it's |
106 |
# Dovecot can notify client of new mail in selected mailbox soon after it's |
122 |
# received. This setting specifies the minimum interval in seconds between |
107 |
# received. This setting specifies the minimum interval in seconds between |
123 |
@@ -262,7 +262,7 @@ |
108 |
@@ -284,7 +284,7 @@ |
124 |
# Save mails with CR+LF instead of plain LF. This makes sending those mails |
|
|
125 |
# take less CPU, especially with sendfile() syscall with Linux and FreeBSD. |
126 |
# But it also creates a bit more disk I/O which may just make it slower. |
127 |
-#mail_save_crlf = no |
128 |
+mail_save_crlf = yes |
129 |
|
130 |
# Use mmap() instead of read() to read mail files. read() seems to be a bit |
131 |
# faster with my Linux/x86 and it's better with NFS, so that's the default. |
132 |
@@ -281,7 +281,7 @@ |
133 |
# know any MUA which would modify mail files directly. IMAP protocol also |
109 |
# know any MUA which would modify mail files directly. IMAP protocol also |
134 |
# requires that the mails don't change, so it would be problematic in any case. |
110 |
# requires that the mails don't change, so it would be problematic in any case. |
135 |
# If you care about performance, enable it. |
111 |
# If you care about performance, enable it. |
Lines 138-162
Link Here
|
138 |
|
114 |
|
139 |
# Check if mails' content has been changed by external programs. This slows |
115 |
# Check if mails' content has been changed by external programs. This slows |
140 |
# down things as extra stat() needs to be called for each file. If changes are |
116 |
# down things as extra stat() needs to be called for each file. If changes are |
141 |
@@ -300,7 +300,7 @@ |
117 |
@@ -333,7 +333,7 @@ |
142 |
# with is important to avoid deadlocks if other MTAs/MUAs are using both fcntl |
|
|
143 |
# and flock. Some operating systems don't allow using both of them |
144 |
# simultaneously, eg. BSDs. If dotlock is used, it's always created first. |
145 |
-#mbox_locks = dotlock fcntl |
146 |
+mbox_locks = fcntl |
147 |
|
148 |
# Should we create dotlock file even when we want only a read-lock? Setting |
149 |
# this to yes hurts the performance when the mailbox is accessed simultaneously |
150 |
@@ -330,7 +330,7 @@ |
151 |
## |
118 |
## |
152 |
|
119 |
|
153 |
# Executable location |
120 |
# Executable location |
154 |
-#imap_executable = /usr/libexec/dovecot/imap |
121 |
-#imap_executable = /usr/libexec/dovecot/imap |
155 |
+imap_executable = %%PREFIX%%/libexec/dovecot/imap |
122 |
+#imap_executable = %%PREFIX%%/libexec/dovecot/imap |
156 |
|
123 |
|
157 |
# Set max. process size in megabytes. Most of the memory goes to mmap()ing |
124 |
# Set max. process size in megabytes. Most of the memory goes to mmap()ing |
158 |
# files, so it shouldn't harm much even if this limit is set pretty high. |
125 |
# files, so it shouldn't harm much even if this limit is set pretty high. |
159 |
@@ -338,14 +338,14 @@ |
126 |
@@ -341,14 +341,14 @@ |
160 |
|
127 |
|
161 |
# Support for dynamically loadable modules. |
128 |
# Support for dynamically loadable modules. |
162 |
#imap_use_modules = no |
129 |
#imap_use_modules = no |
Lines 169-179
Link Here
|
169 |
|
136 |
|
170 |
# Executable location |
137 |
# Executable location |
171 |
-#pop3_executable = /usr/libexec/dovecot/pop3 |
138 |
-#pop3_executable = /usr/libexec/dovecot/pop3 |
172 |
+pop3_executable = %%PREFIX%%/libexec/dovecot/pop3 |
139 |
+#pop3_executable = %%PREFIX%%/libexec/dovecot/pop3 |
173 |
|
140 |
|
174 |
# Set max. process size in megabytes. Most of the memory goes to mmap()ing |
141 |
# Set max. process size in megabytes. Most of the memory goes to mmap()ing |
175 |
# files, so it shouldn't harm much even if this limit is set pretty high. |
142 |
# files, so it shouldn't harm much even if this limit is set pretty high. |
176 |
@@ -353,7 +353,7 @@ |
143 |
@@ -356,7 +356,7 @@ |
177 |
|
144 |
|
178 |
# Support for dynamically loadable modules. |
145 |
# Support for dynamically loadable modules. |
179 |
#pop3_use_modules = no |
146 |
#pop3_use_modules = no |
Lines 182-188
Link Here
|
182 |
|
149 |
|
183 |
## |
150 |
## |
184 |
## Authentication processes |
151 |
## Authentication processes |
185 |
@@ -403,9 +403,9 @@ |
152 |
@@ -406,9 +406,9 @@ |
186 |
# vpopmail: vpopmail authentication |
153 |
# vpopmail: vpopmail authentication |
187 |
# ldap <config path>: LDAP, see doc/dovecot-ldap.conf |
154 |
# ldap <config path>: LDAP, see doc/dovecot-ldap.conf |
188 |
# pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf |
155 |
# pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf |
Lines 190-200
Link Here
|
190 |
+auth_passdb = passwd |
157 |
+auth_passdb = passwd |
191 |
|
158 |
|
192 |
-#auth_executable = /usr/libexec/dovecot/dovecot-auth |
159 |
-#auth_executable = /usr/libexec/dovecot/dovecot-auth |
193 |
+auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth |
160 |
+#auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth |
194 |
|
161 |
|
195 |
# Set max. process size in megabytes. |
162 |
# Set max. process size in megabytes. |
196 |
#auth_process_size = 256 |
163 |
#auth_process_size = 256 |
197 |
@@ -436,7 +436,7 @@ |
164 |
@@ -439,7 +439,7 @@ |
198 |
|
165 |
|
199 |
# More verbose logging. Useful for figuring out why authentication isn't |
166 |
# More verbose logging. Useful for figuring out why authentication isn't |
200 |
# working. |
167 |
# working. |