Lines 1-15
Link Here
|
1 |
--- dovecot-example.conf.orig Tue Jan 11 00:49:06 2005 |
1 |
--- dovecot-example.conf.orig Fri Jul 22 18:40:25 2005 |
2 |
+++ dovecot-example.conf Tue Jan 11 00:53:50 2005 |
2 |
+++ dovecot-example.conf Fri Sep 9 00:02:06 2005 |
3 |
@@ -3,7 +3,7 @@ |
3 |
@@ -7,7 +7,7 @@ |
4 |
# Default values are shown after each value, it's not required to uncomment |
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 |
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 |
6 |
# with real defaults being based on configure options. The paths listed here |
7 |
-# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var |
7 |
-# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var |
8 |
+# are for configure --prefix=%%PREFIX%% --sysconfdir=/etc --localstatedir=/var |
8 |
+# are for configure --prefix=%%PREFIX%% --sysconfdir=%%PREFIX%%/etc --localstatedir=/var |
9 |
# --with-ssldir=/etc/ssl |
9 |
# --with-ssldir=/etc/ssl |
10 |
|
10 |
|
11 |
# Base directory where to store runtime data. |
11 |
# Base directory where to store runtime data. |
12 |
@@ -11,7 +11,7 @@ |
12 |
@@ -15,7 +15,7 @@ |
13 |
|
13 |
|
14 |
# Protocols we want to be serving: |
14 |
# Protocols we want to be serving: |
15 |
# imap imaps pop3 pop3s |
15 |
# imap imaps pop3 pop3s |
Lines 18-50
Link Here
|
18 |
|
18 |
|
19 |
# 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 |
20 |
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces. |
20 |
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces. |
21 |
@@ -27,14 +27,14 @@ |
21 |
@@ -95,7 +95,7 @@ |
22 |
#pop3s_listen = |
|
|
23 |
|
24 |
# Disable SSL/TLS support. |
25 |
-#ssl_disable = no |
26 |
+ssl_disable = yes |
27 |
|
28 |
# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before |
29 |
# dropping root privileges, so keep the key file unreadable by anyone but |
30 |
# root. Included doc/mkcert.sh can be used to easily generate self-signed |
31 |
# certificate, just make sure to update the domains in dovecot-openssl.cnf |
32 |
-#ssl_cert_file = /etc/ssl/certs/dovecot.pem |
33 |
-#ssl_key_file = /etc/ssl/private/dovecot.pem |
34 |
+#ssl_cert_file = /etc/ssl/certs/imapd.pem |
35 |
+#ssl_key_file = /etc/ssl/private/imapd.pem |
36 |
|
37 |
# SSL parameter file. Master process generates this file for login processes. |
38 |
# It contains Diffie Hellman and RSA parameters. |
39 |
@@ -85,14 +85,14 @@ |
40 |
login = imap |
41 |
|
42 |
# Executable location. |
43 |
-#login_executable = /usr/libexec/dovecot/imap-login |
44 |
+#login_executable = %%PREFIX%%/libexec/dovecot/imap-login |
45 |
|
46 |
# User to use for the login process. Create a completely new user for this, |
47 |
# and don't use it anywhere else. The user must also belong to a group where |
48 |
# only it has access, it's used to control access for authentication process. |
22 |
# only it has access, it's used to control access for authentication process. |
49 |
# Note that this user is NOT used to access mails. |
23 |
# Note that this user is NOT used to access mails. |
50 |
# http://wiki.dovecot.org/UserIds |
24 |
# http://wiki.dovecot.org/UserIds |
Lines 53-77
Link Here
|
53 |
|
27 |
|
54 |
# Set max. process size in megabytes. If you don't use |
28 |
# Set max. process size in megabytes. If you don't use |
55 |
# login_process_per_connection you might need to grow this. |
29 |
# login_process_per_connection you might need to grow this. |
56 |
@@ -132,7 +132,7 @@ |
30 |
@@ -148,7 +148,7 @@ |
57 |
login = pop3 |
|
|
58 |
|
59 |
# Exception to above rule being the executable location. |
60 |
-#login_executable = /usr/libexec/dovecot/pop3-login |
61 |
+#login_executable = %%PREFIX%%/libexec/dovecot/pop3-login |
62 |
|
63 |
## |
64 |
## Mail processes |
65 |
@@ -145,7 +145,7 @@ |
66 |
# Show more verbose process titles (in ps). Currently shows user name and |
31 |
# Show more verbose process titles (in ps). Currently shows user name and |
67 |
# IP address. Useful for seeing who are actually using the IMAP processes |
32 |
# IP address. Useful for seeing who are actually using the IMAP processes |
68 |
# (eg. shared mailboxes or if same uid is used for multiple accounts). |
33 |
# (eg. shared mailboxes or if same uid is used for multiple accounts). |
69 |
-#verbose_proctitle = no |
34 |
-#verbose_proctitle = no |
70 |
+verbose_proctitle = yes |
35 |
+verbose_proctitle = no |
71 |
|
36 |
|
72 |
# Show protocol level SSL errors. |
37 |
# Show protocol level SSL errors. |
73 |
#verbose_ssl = no |
38 |
#verbose_ssl = no |
74 |
@@ -161,7 +161,7 @@ |
39 |
@@ -164,12 +164,12 @@ |
75 |
# non-valid GID as primary group ID aren't allowed to log in. If user |
40 |
# non-valid GID as primary group ID aren't allowed to log in. If user |
76 |
# belongs to supplementary groups with non-valid GIDs, those groups are |
41 |
# belongs to supplementary groups with non-valid GIDs, those groups are |
77 |
# not set. |
42 |
# not set. |
Lines 80-174
Link Here
|
80 |
#last_valid_gid = 0 |
45 |
#last_valid_gid = 0 |
81 |
|
46 |
|
82 |
# Grant access to these extra groups for mail processes. Typical use would be |
47 |
# Grant access to these extra groups for mail processes. Typical use would be |
83 |
@@ -174,7 +174,7 @@ |
48 |
# to give "mail" group write access to /var/mail to be able to create dotlocks. |
84 |
# WARNING: Never add directories here which local users can modify, that |
49 |
-#mail_extra_groups = |
85 |
# may lead to root exploit. Usually this should be done only if you don't |
50 |
+mail_extra_groups = mail |
86 |
# allow shell access for users. See doc/configuration.txt for more information. |
51 |
|
87 |
-#valid_chroot_dirs = |
52 |
# ':' separated list of directories under which chrooting is allowed for mail |
88 |
+valid_chroot_dirs = /var/mail |
53 |
# processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too). |
89 |
|
54 |
@@ -205,7 +205,7 @@ |
90 |
# Default chroot directory for mail processes. This can be overridden by |
|
|
91 |
# giving /./ in user's home directory (eg. /home/./user chroots into /home). |
92 |
@@ -197,7 +197,7 @@ |
93 |
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u |
55 |
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u |
94 |
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n |
56 |
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n |
95 |
# |
57 |
# |
96 |
-#default_mail_env = |
58 |
-#default_mail_env = |
97 |
+default_mail_env = mbox:/var/mail/%u |
59 |
+default_mail_env = mbox:/var/mail/%u |
98 |
|
60 |
|
99 |
# Space-separated list of fields to cache for all mails. Currently these |
61 |
# If you need to set multiple mailbox locations or want to change default |
100 |
# fields are allowed followed by a list of commands they speed up: |
62 |
# namespace settings, you can do it by defining namespace sections: |
101 |
@@ -245,7 +245,7 @@ |
63 |
@@ -321,7 +321,7 @@ |
102 |
# outlook-pop3-no-nuls: |
|
|
103 |
# Outlook and Outlook Express hang if mails contain NUL characters. |
104 |
# This setting replaces them with 0x80 character. |
105 |
-#client_workarounds = |
106 |
+client_workarounds = oe6-fetch-no-newmail outlook-idle outlook-pop3-no-nuls |
107 |
|
108 |
# Dovecot can notify client of new mail in selected mailbox soon after it's |
109 |
# received. This setting specifies the minimum interval in seconds between |
110 |
@@ -289,7 +289,7 @@ |
111 |
# know any MUA which would modify mail files directly. IMAP protocol also |
64 |
# know any MUA which would modify mail files directly. IMAP protocol also |
112 |
# requires that the mails don't change, so it would be problematic in any case. |
65 |
# requires that the mails don't change, so it would be problematic in any case. |
113 |
# If you care about performance, enable it. |
66 |
# If you care about performance, enable it. |
114 |
-#maildir_copy_with_hardlinks = no |
67 |
-#maildir_copy_with_hardlinks = no |
115 |
+maildir_copy_with_hardlinks = yes |
68 |
+maildir_copy_with_hardlinks = yes |
116 |
|
69 |
|
117 |
# Check if mails' content has been changed by external programs. This slows |
70 |
# Which locking methods to use for locking mbox. There's four available: |
118 |
# down things as extra stat() needs to be called for each file. If changes are |
71 |
# dotlock: Create <mailbox>.lock file. This is the oldest and most NFS-safe |
119 |
@@ -338,7 +338,7 @@ |
72 |
@@ -389,12 +389,12 @@ |
|
|
73 |
|
74 |
protocol imap { |
75 |
# Login executable location. |
76 |
- #login_executable = /usr/libexec/dovecot/imap-login |
77 |
+ #login_executable = %%PREFIX%%/libexec/dovecot/imap-login |
78 |
|
79 |
# IMAP executable location |
80 |
- #mail_executable = /usr/libexec/dovecot/imap |
81 |
+ #mail_executable = %%PREFIX%%/libexec/dovecot/imap |
82 |
# This would write rawlogs into ~/dovecot.rawlog/ directory: |
83 |
- #mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap |
84 |
+ #mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap |
85 |
|
86 |
# Maximum IMAP command line length in bytes. Some clients generate very long |
87 |
# command lines with huge mailboxes, so you may need to raise this if you get |
88 |
@@ -403,7 +403,7 @@ |
89 |
|
90 |
# Support for dynamically loadable modules. |
91 |
#mail_use_modules = no |
92 |
- #mail_modules = /usr/lib/dovecot/imap |
93 |
+ #mail_modules = %%PREFIX%%/lib/dovecot/imap |
94 |
|
95 |
# Send IMAP capabilities in greeting message. This makes it unnecessary for |
96 |
# clients to request it with CAPABILITY command, so it saves one round-trip. |
97 |
@@ -433,7 +433,7 @@ |
98 |
# With mbox storage a mailbox can contain either mails or submailboxes, |
99 |
# but not both. Thunderbird separates these two by forcing server to |
100 |
# accept '/' suffix in mailbox names in subscriptions list. |
101 |
- #imap_client_workarounds = outlook-idle |
102 |
+ imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep |
103 |
} |
104 |
|
120 |
## |
105 |
## |
|
|
106 |
@@ -442,10 +442,10 @@ |
121 |
|
107 |
|
122 |
# Executable location |
108 |
protocol pop3 { |
123 |
-#imap_executable = /usr/libexec/dovecot/imap |
109 |
# Login executable location. |
124 |
+#imap_executable = %%PREFIX%%/libexec/dovecot/imap |
110 |
- #login_executable = /usr/libexec/dovecot/pop3-login |
125 |
|
111 |
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login |
126 |
# Set max. process size in megabytes. Most of the memory goes to mmap()ing |
112 |
|
127 |
# files, so it shouldn't harm much even if this limit is set pretty high. |
113 |
# POP3 executable location |
128 |
@@ -346,14 +346,14 @@ |
114 |
- #mail_executable = /usr/libexec/dovecot/pop3 |
129 |
|
115 |
+ #mail_executable = %%PREFIX%%/libexec/dovecot/pop3 |
130 |
# Support for dynamically loadable modules. |
116 |
|
131 |
#imap_use_modules = no |
117 |
# Don't try to set mails non-recent or seen with POP3 sessions. This is |
132 |
-#imap_modules = /usr/lib/dovecot/imap |
118 |
# mostly intended to reduce disk I/O. With maildir it doesn't move files |
133 |
+#imap_modules = %%PREFIX%%/lib/dovecot/imap |
119 |
@@ -475,7 +475,7 @@ |
|
|
120 |
# Note that Outlook 2003 seems to have problems with %v.%u format which is |
121 |
# Dovecot's default, so if you're building a new server it would be a good |
122 |
# idea to change this. %08Xu%08Xv should be pretty fail-safe. |
123 |
- #pop3_uidl_format = %v.%u |
124 |
+ pop3_uidl_format = %08Xu%08Xv |
125 |
|
126 |
# POP3 logout format string: |
127 |
# %t - number of TOP commands |
128 |
@@ -489,7 +489,7 @@ |
129 |
|
130 |
# Support for dynamically loadable modules. |
131 |
#mail_use_modules = no |
132 |
- #mail_modules = /usr/lib/dovecot/pop3 |
133 |
+ #mail_modules = %%PREFIX%%/lib/dovecot/pop3 |
134 |
|
135 |
# Workarounds for various client bugs: |
136 |
# outlook-no-nuls: |
137 |
@@ -498,7 +498,7 @@ |
138 |
# oe-ns-eoh: |
139 |
# Outlook Express and Netscape Mail breaks if end of headers-line is |
140 |
# missing. This option simply sends it if it's missing. |
141 |
- #pop3_client_workarounds = |
142 |
+ pop3_client_workarounds = outlook-no-nuls oe-ns-eoh |
143 |
} |
134 |
|
144 |
|
135 |
## |
145 |
## |
136 |
## POP3 process |
146 |
@@ -506,7 +506,7 @@ |
137 |
## |
147 |
## |
138 |
|
148 |
|
139 |
# Executable location |
149 |
# Executable location |
140 |
-#pop3_executable = /usr/libexec/dovecot/pop3 |
|
|
141 |
+#pop3_executable = %%PREFIX%%/libexec/dovecot/pop3 |
142 |
|
143 |
# Set max. process size in megabytes. Most of the memory goes to mmap()ing |
144 |
# files, so it shouldn't harm much even if this limit is set pretty high. |
145 |
@@ -361,7 +361,7 @@ |
146 |
|
147 |
# Support for dynamically loadable modules. |
148 |
#pop3_use_modules = no |
149 |
-#pop3_modules = /usr/lib/dovecot/pop3 |
150 |
+#pop3_modules = %%PREFIX%%/lib/dovecot/pop3 |
151 |
|
152 |
## |
153 |
## Authentication processes |
154 |
@@ -438,9 +438,9 @@ |
155 |
# vpopmail: vpopmail authentication |
156 |
# ldap <config path>: LDAP, see doc/dovecot-ldap.conf |
157 |
# pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf |
158 |
-auth_passdb = pam |
159 |
+auth_passdb = passwd |
160 |
|
161 |
-#auth_executable = /usr/libexec/dovecot/dovecot-auth |
150 |
-#auth_executable = /usr/libexec/dovecot/dovecot-auth |
162 |
+#auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth |
151 |
+#auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth |
163 |
|
152 |
|
164 |
# Set max. process size in megabytes. |
153 |
# Set max. process size in megabytes. |
165 |
#auth_process_size = 256 |
154 |
#auth_process_size = 256 |
166 |
@@ -472,7 +472,7 @@ |
|
|
167 |
|
168 |
# More verbose logging. Useful for figuring out why authentication isn't |
169 |
# working. |
170 |
-#auth_verbose = no |
171 |
+auth_verbose = yes |
172 |
|
173 |
# Even more verbose logging for debugging purposes. Shows for example SQL |
174 |
# queries. |