2006-02-12 21:12:06 +01:00
|
|
|
--- dovecot-example.conf.orig Fri Feb 10 18:46:38 2006
|
|
|
|
+++ dovecot-example.conf Fri Feb 10 18:51:23 2006
|
2005-09-26 19:17:04 +02:00
|
|
|
@@ -7,7 +7,7 @@
|
2004-07-28 14:18:11 +02:00
|
|
|
# Default values are shown after each value, it's not required to uncomment
|
|
|
|
# any of the lines. Exception to this are paths, they're just examples
|
|
|
|
# with real defaults being based on configure options. The paths listed here
|
|
|
|
-# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
2005-09-26 19:17:04 +02:00
|
|
|
+# are for configure --prefix=%%PREFIX%% --sysconfdir=%%PREFIX%%/etc --localstatedir=/var
|
2003-02-16 00:13:10 +01:00
|
|
|
# --with-ssldir=/etc/ssl
|
2002-09-01 16:17:07 +02:00
|
|
|
|
2003-02-16 00:13:10 +01:00
|
|
|
# Base directory where to store runtime data.
|
2005-09-26 19:17:04 +02:00
|
|
|
@@ -15,7 +15,7 @@
|
2003-02-16 00:13:10 +01:00
|
|
|
|
|
|
|
# Protocols we want to be serving:
|
|
|
|
# imap imaps pop3 pop3s
|
2003-05-03 23:50:26 +02:00
|
|
|
-#protocols = imap imaps
|
|
|
|
+protocols = imap pop3
|
|
|
|
|
|
|
|
# IP or host address where to listen in for connections. It's not currently
|
|
|
|
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -104,7 +104,7 @@
|
|
|
|
|
|
|
|
# Set max. process size in megabytes. If you don't use
|
|
|
|
# login_process_per_connection you might need to grow this.
|
|
|
|
-#login_process_size = 32
|
|
|
|
+login_process_size = 64
|
|
|
|
|
|
|
|
# Should each login be processed in it's own process (yes), or should one
|
|
|
|
# login process be allowed to process multiple connections (no)? Yes is more
|
2005-12-20 12:55:11 +01:00
|
|
|
@@ -153,7 +153,7 @@
|
2003-05-03 23:50:26 +02:00
|
|
|
# Show more verbose process titles (in ps). Currently shows user name and
|
|
|
|
# IP address. Useful for seeing who are actually using the IMAP processes
|
|
|
|
# (eg. shared mailboxes or if same uid is used for multiple accounts).
|
|
|
|
-#verbose_proctitle = no
|
2005-10-20 22:55:00 +02:00
|
|
|
+verbose_proctitle = yes
|
2003-05-03 23:50:26 +02:00
|
|
|
|
|
|
|
# Show protocol level SSL errors.
|
2004-06-21 20:56:29 +02:00
|
|
|
#verbose_ssl = no
|
2005-12-20 12:55:11 +01:00
|
|
|
@@ -169,12 +169,12 @@
|
2003-06-27 06:32:51 +02:00
|
|
|
# non-valid GID as primary group ID aren't allowed to log in. If user
|
|
|
|
# belongs to supplementary groups with non-valid GIDs, those groups are
|
|
|
|
# not set.
|
|
|
|
-#first_valid_gid = 1
|
|
|
|
+first_valid_gid = 0
|
|
|
|
#last_valid_gid = 0
|
|
|
|
|
2004-06-21 20:56:29 +02:00
|
|
|
# Grant access to these extra groups for mail processes. Typical use would be
|
2005-09-26 19:17:04 +02:00
|
|
|
# to give "mail" group write access to /var/mail to be able to create dotlocks.
|
|
|
|
-#mail_extra_groups =
|
|
|
|
+mail_extra_groups = mail
|
|
|
|
|
|
|
|
# ':' separated list of directories under which chrooting is allowed for mail
|
|
|
|
# processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too).
|
2005-12-20 12:55:11 +01:00
|
|
|
@@ -210,7 +210,7 @@
|
2004-06-21 20:56:29 +02:00
|
|
|
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
|
|
|
|
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
2003-05-03 23:50:26 +02:00
|
|
|
#
|
|
|
|
-#default_mail_env =
|
|
|
|
+default_mail_env = mbox:/var/mail/%u
|
|
|
|
|
2005-09-26 19:17:04 +02:00
|
|
|
# If you need to set multiple mailbox locations or want to change default
|
|
|
|
# namespace settings, you can do it by defining namespace sections:
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -420,19 +420,19 @@
|
2005-09-26 19:17:04 +02:00
|
|
|
|
|
|
|
protocol imap {
|
|
|
|
# Login executable location.
|
|
|
|
- #login_executable = /usr/libexec/dovecot/imap-login
|
|
|
|
+ #login_executable = %%PREFIX%%/libexec/dovecot/imap-login
|
|
|
|
|
2006-02-12 21:12:06 +01:00
|
|
|
# IMAP executable location. Changing this allows you to execute other
|
|
|
|
# binaries before the imap process is executed.
|
|
|
|
#
|
|
|
|
# This would write rawlogs into ~/dovecot.rawlog/ directory:
|
|
|
|
- # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
|
|
|
|
+ # mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap
|
|
|
|
#
|
|
|
|
# This would attach gdb into the imap process and write backtraces into
|
|
|
|
# /tmp/gdbhelper.* files:
|
|
|
|
- # mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
|
|
|
|
+ # mail_executable = %%PREFIX%%/libexec/dovecot/gdbhelper %%PREFIX%%/libexec/dovecot/imap
|
|
|
|
#
|
2005-09-26 19:17:04 +02:00
|
|
|
- #mail_executable = /usr/libexec/dovecot/imap
|
|
|
|
+ #mail_executable = %%PREFIX%%/libexec/dovecot/imap
|
|
|
|
|
|
|
|
# Maximum IMAP command line length in bytes. Some clients generate very long
|
|
|
|
# command lines with huge mailboxes, so you may need to raise this if you get
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -441,7 +441,7 @@
|
2005-09-26 19:17:04 +02:00
|
|
|
|
|
|
|
# Support for dynamically loadable modules.
|
|
|
|
#mail_use_modules = no
|
|
|
|
- #mail_modules = /usr/lib/dovecot/imap
|
|
|
|
+ #mail_modules = %%PREFIX%%/lib/dovecot/imap
|
|
|
|
|
|
|
|
# Send IMAP capabilities in greeting message. This makes it unnecessary for
|
|
|
|
# clients to request it with CAPABILITY command, so it saves one round-trip.
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -472,7 +472,7 @@
|
2005-09-26 19:17:04 +02:00
|
|
|
# but not both. Thunderbird separates these two by forcing server to
|
|
|
|
# accept '/' suffix in mailbox names in subscriptions list.
|
2006-02-12 21:12:06 +01:00
|
|
|
# The list is space-separated.
|
2005-09-26 19:17:04 +02:00
|
|
|
- #imap_client_workarounds = outlook-idle
|
|
|
|
+ imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
|
|
|
|
}
|
|
|
|
|
2002-09-01 16:17:07 +02:00
|
|
|
##
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -481,10 +481,10 @@
|
2005-09-26 19:17:04 +02:00
|
|
|
|
|
|
|
protocol pop3 {
|
|
|
|
# Login executable location.
|
|
|
|
- #login_executable = /usr/libexec/dovecot/pop3-login
|
|
|
|
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
|
|
|
|
|
|
|
|
# POP3 executable location
|
|
|
|
- #mail_executable = /usr/libexec/dovecot/pop3
|
|
|
|
+ #mail_executable = %%PREFIX%%/libexec/dovecot/pop3
|
|
|
|
|
|
|
|
# Don't try to set mails non-recent or seen with POP3 sessions. This is
|
|
|
|
# mostly intended to reduce disk I/O. With maildir it doesn't move files
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -521,7 +521,7 @@
|
2005-10-20 22:55:00 +02:00
|
|
|
# installations. %08Xu%08Xv will be the new default, so use it for new
|
|
|
|
# installations.
|
|
|
|
#
|
|
|
|
- #pop3_uidl_format =
|
2005-09-26 19:17:04 +02:00
|
|
|
+ pop3_uidl_format = %08Xu%08Xv
|
|
|
|
|
|
|
|
# POP3 logout format string:
|
|
|
|
# %t - number of TOP commands
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -535,7 +535,7 @@
|
2005-09-26 19:17:04 +02:00
|
|
|
|
|
|
|
# Support for dynamically loadable modules.
|
|
|
|
#mail_use_modules = no
|
|
|
|
- #mail_modules = /usr/lib/dovecot/pop3
|
|
|
|
+ #mail_modules = %%PREFIX%%/lib/dovecot/pop3
|
|
|
|
|
|
|
|
# Workarounds for various client bugs:
|
|
|
|
# outlook-no-nuls:
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -545,7 +545,7 @@
|
2005-09-26 19:17:04 +02:00
|
|
|
# Outlook Express and Netscape Mail breaks if end of headers-line is
|
|
|
|
# missing. This option simply sends it if it's missing.
|
2006-02-12 21:12:06 +01:00
|
|
|
# The list is space-separated.
|
2005-09-26 19:17:04 +02:00
|
|
|
- #pop3_client_workarounds =
|
|
|
|
+ pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
|
|
|
|
}
|
2003-06-27 06:32:51 +02:00
|
|
|
|
|
|
|
##
|
2006-02-12 21:12:06 +01:00
|
|
|
@@ -553,7 +553,7 @@
|
2003-02-16 00:13:10 +01:00
|
|
|
##
|
2002-09-01 16:17:07 +02:00
|
|
|
|
|
|
|
# Executable location
|
2003-02-16 00:13:10 +01:00
|
|
|
-#auth_executable = /usr/libexec/dovecot/dovecot-auth
|
2004-07-28 14:18:11 +02:00
|
|
|
+#auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth
|
2002-09-01 16:17:07 +02:00
|
|
|
|
2003-02-16 00:13:10 +01:00
|
|
|
# Set max. process size in megabytes.
|
|
|
|
#auth_process_size = 256
|