mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
e4656bbaa3
http://www.dovecot.org/list/dovecot-news/2006-July/000010.html. PR: 100037 Submitted by: maintainer Approved by: arved
161 lines
6.0 KiB
Plaintext
161 lines
6.0 KiB
Plaintext
--- dovecot-example.conf.orig Tue Jul 4 23:44:02 2006
|
|
+++ dovecot-example.conf Tue Jul 4 23:47:52 2006
|
|
@@ -9,7 +9,7 @@
|
|
# 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
|
|
+# are for configure --prefix=%%PREFIX%% --sysconfdir=%%PREFIX%%/etc --localstatedir=/var
|
|
# --with-ssldir=/etc/ssl
|
|
|
|
# Base directory where to store runtime data.
|
|
@@ -17,6 +17,7 @@
|
|
|
|
# Protocols we want to be serving: imap imaps pop3 pop3s
|
|
#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.
|
|
@@ -135,6 +136,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
|
|
@@ -193,6 +195,7 @@
|
|
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
|
#
|
|
#default_mail_env =
|
|
+default_mail_env = mbox:/var/mail/%u
|
|
|
|
# If you need to set multiple mailbox locations or want to change default
|
|
# namespace settings, you can do it by defining namespace sections:
|
|
@@ -235,6 +238,7 @@
|
|
# Grant access to these extra groups for mail processes. Typical use would be
|
|
# to give "mail" group write access to /var/mail to be able to create dotlocks.
|
|
#mail_extra_groups =
|
|
+mail_extra_groups = mail
|
|
|
|
# Allow full filesystem access to clients. There's no access checks other than
|
|
# what the operating system does for the active UID/GID. It works with both
|
|
@@ -282,6 +286,7 @@
|
|
# 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
|
|
+verbose_proctitle = yes
|
|
|
|
# Valid UID range for users, defaults to 500 and above. This is mostly
|
|
# to make sure that users can't log in as daemons or other system users.
|
|
@@ -295,6 +300,7 @@
|
|
# 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
|
|
|
|
# Maximum number of running mail processes. When this limit is reached,
|
|
@@ -467,19 +473,19 @@
|
|
|
|
protocol imap {
|
|
# Login executable location.
|
|
- #login_executable = /usr/libexec/dovecot/imap-login
|
|
+ #login_executable = %%PREFIX%%/libexec/dovecot/imap-login
|
|
|
|
# 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
|
|
#
|
|
- #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
|
|
@@ -489,7 +495,7 @@
|
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
|
# list of plugins to load.
|
|
#mail_plugins =
|
|
- #mail_plugin_dir = /usr/lib/dovecot/imap
|
|
+ #mail_plugin_dir = %%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.
|
|
@@ -521,6 +527,7 @@
|
|
# accept '/' suffix in mailbox names in subscriptions list.
|
|
# The list is space-separated.
|
|
#imap_client_workarounds = outlook-idle
|
|
+ imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
|
|
}
|
|
|
|
##
|
|
@@ -529,10 +536,10 @@
|
|
|
|
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
|
|
@@ -576,6 +583,7 @@
|
|
# installations.
|
|
#
|
|
#pop3_uidl_format =
|
|
+ pop3_uidl_format = %08Xu%08Xv
|
|
|
|
# POP3 logout format string:
|
|
# %t - number of TOP commands
|
|
@@ -590,7 +598,7 @@
|
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
|
# list of plugins to load.
|
|
#mail_plugins =
|
|
- #mail_plugin_dir = /usr/lib/dovecot/pop3
|
|
+ #mail_plugin_dir = %%PREFIX%%/lib/dovecot/pop3
|
|
|
|
# Workarounds for various client bugs:
|
|
# outlook-no-nuls:
|
|
@@ -601,6 +609,7 @@
|
|
# missing. This option simply sends it if it's missing.
|
|
# The list is space-separated.
|
|
#pop3_client_workarounds =
|
|
+ pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
|
|
}
|
|
|
|
##
|
|
@@ -618,10 +627,11 @@
|
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
|
# list of plugins to load.
|
|
#mail_plugins =
|
|
- #mail_plugin_dir = /usr/lib/dovecot/lda
|
|
+ #mail_plugin_dir = %%PREFIX%%/lib/dovecot/lda
|
|
|
|
# Binary to use for sending mails.
|
|
#sendmail_path = /usr/lib/sendmail
|
|
+ sendmail_path = /usr/sbin/sendmail
|
|
|
|
# UNIX socket path to master authentication server to find users.
|
|
#auth_socket_path = /var/run/dovecot/auth-master
|
|
@@ -632,7 +642,7 @@
|
|
##
|
|
|
|
# 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
|