aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:48:57 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:48:57 +0000
commit2f2dd29a7d41ad967e74d9a81fcfdda4e2e09b6b (patch)
tree8af42a5ca2a7aa9389b981d6009cd280e6a3a889 /mail/dovecot/files
parent561e2abb63e3d75769e5c4a2fdccc3fb3dc35adf (diff)
downloadports-2f2dd29a7d41ad967e74d9a81fcfdda4e2e09b6b.tar.gz
ports-2f2dd29a7d41ad967e74d9a81fcfdda4e2e09b6b.zip
Notes
Diffstat (limited to 'mail/dovecot/files')
-rw-r--r--mail/dovecot/files/patch-dovecot-example.conf31
1 files changed, 15 insertions, 16 deletions
diff --git a/mail/dovecot/files/patch-dovecot-example.conf b/mail/dovecot/files/patch-dovecot-example.conf
index 013d4fa98447..53f436bc8ec3 100644
--- a/mail/dovecot/files/patch-dovecot-example.conf
+++ b/mail/dovecot/files/patch-dovecot-example.conf
@@ -1,5 +1,5 @@
---- dovecot-example.conf.orig Thu Jun 26 16:11:06 2003
-+++ dovecot-example.conf Sat Jul 12 01:48:09 2003
+--- dovecot-example.conf.orig Sun Nov 9 00:21:22 2003
++++ dovecot-example.conf Sun Nov 16 16:14:35 2003
@@ -7,11 +7,11 @@
# --with-ssldir=/etc/ssl
@@ -113,9 +113,9 @@
-#valid_chroot_dirs =
+valid_chroot_dirs = /var/mail
- # Default MAIL environment to use when it's not set. By leaving this empty
- # dovecot tries to do some automatic detection as described in
-@@ -183,7 +183,7 @@
+ # Default chroot directory for mail processes. This can be overridden by
+ # giving /./ in user's home directory (eg. /home/./user chroots into /home).
+@@ -187,7 +187,7 @@
# mbox:~/mail/:INBOX=/var/mail/%u
# mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
#
@@ -124,7 +124,7 @@
# Space-separated list of fields to cache for all mails. Currently these
# fields are allowed followed by a list of commands they speed up:
-@@ -228,7 +228,7 @@
+@@ -232,7 +232,7 @@
# arrives in half a hour, Dovecot closes the connection. This is still
# fine, except Outlook doesn't connect back so you don't see if new mail
# arrives.
@@ -133,7 +133,7 @@
# Dovecot can notify client of new mail in selected mailbox soon after it's
# received. This setting specifies the minimum interval in seconds between
-@@ -253,7 +253,7 @@
+@@ -257,7 +257,7 @@
# Save mails with CR+LF instead of plain LF. This makes sending those mails
# take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
# But it also creates a bit more disk I/O which may just make it slower.
@@ -142,7 +142,7 @@
# Use mmap() instead of read() to read mail files. read() seems to be a bit
# faster with my Linux/x86 and it's better with NFS, so that's the default.
-@@ -265,7 +265,7 @@
+@@ -269,7 +269,7 @@
# know any MUA which would modify mail files directly. IMAP protocol also
# requires that the mails don't change, so it would be problematic in any case.
# If you care about performance, enable it.
@@ -151,7 +151,7 @@
# Check if mails' content has been changed by external programs. This slows
# down things as extra stat() needs to be called for each file. If changes are
-@@ -284,7 +284,7 @@
+@@ -288,7 +288,7 @@
# with is important to avoid deadlocks if other MTAs/MUAs are using both fcntl
# and flock. Some operating systems don't allow using both of them
# simultaneously, eg. BSDs. If dotlock is used, it's always created first.
@@ -160,7 +160,7 @@
# Should we create dotlock file even when we want only a read-lock? Setting
# this to yes hurts the performance when the mailbox is accessed simultaneously
-@@ -314,7 +314,7 @@
+@@ -318,7 +318,7 @@
##
# Executable location
@@ -169,7 +169,7 @@
# Set max. process size in megabytes. Most of the memory goes to mmap()ing
# files, so it shouldn't harm much even if this limit is set pretty high.
-@@ -322,14 +322,14 @@
+@@ -326,14 +326,14 @@
# Support for dynamically loadable modules.
#imap_use_modules = no
@@ -186,7 +186,7 @@
# Set max. process size in megabytes. Most of the memory goes to mmap()ing
# files, so it shouldn't harm much even if this limit is set pretty high.
-@@ -337,7 +337,7 @@
+@@ -341,7 +341,7 @@
# Support for dynamically loadable modules.
#pop3_use_modules = no
@@ -195,20 +195,19 @@
##
## Authentication processes
-@@ -386,10 +386,10 @@
+@@ -391,9 +391,9 @@
# vpopmail: vpopmail authentication
# ldap <config path>: LDAP, see doc/dovecot-ldap.conf
# pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf
--auth_passdb = pam
+-auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf
+auth_passdb = passwd
- # Executable location
-#auth_executable = /usr/libexec/dovecot/dovecot-auth
+auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth
# Set max. process size in megabytes.
#auth_process_size = 256
-@@ -418,7 +418,7 @@
+@@ -422,7 +422,7 @@
# More verbose logging. Useful for figuring out why authentication isn't
# working.