mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
213 lines
8.4 KiB
Text
213 lines
8.4 KiB
Text
--- dovecot-example.conf.orig 2008-06-21 21:21:38.422213158 +0100
|
|
+++ dovecot-example.conf 2008-06-21 21:29:47.638914442 +0100
|
|
@@ -12,7 +12,7 @@
|
|
# Default values are shown for each setting, it's not required to uncomment
|
|
# any of the lines. Exception to this are paths, they're just examples with
|
|
# the 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.
|
|
@@ -21,6 +21,7 @@
|
|
# Protocols we want to be serving: imap imaps pop3 pop3s
|
|
# If you only want to use dovecot-auth, you can set this to "none".
|
|
#protocols = imap imaps
|
|
+protocols = %%PROTOCOLS%%
|
|
|
|
# A space separated list of IP or host addresses where to listen in for
|
|
# connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
|
|
@@ -213,6 +214,7 @@
|
|
# <doc/wiki/MailLocation.txt>
|
|
#
|
|
#mail_location =
|
|
+mail_location = mbox:~/mail/:INBOX=/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.
|
|
@@ -273,6 +275,7 @@
|
|
# used only with INBOX when either its initial creation or dotlocking fails.
|
|
# Typically this is set to "mail" to give access to /var/mail.
|
|
#mail_privileged_group =
|
|
+mail_privileged_group = mail
|
|
|
|
# Grant access to these supplementary groups for mail processes. Typically
|
|
# these are used to set up access to shared mailboxes. Note that it may be
|
|
@@ -340,6 +343,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.
|
|
@@ -353,6 +357,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,
|
|
@@ -503,19 +508,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
|
|
@@ -529,7 +534,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.
|
|
@@ -564,6 +569,7 @@
|
|
# accept '/' suffix in mailbox names in subscriptions list.
|
|
# The list is space-separated.
|
|
#imap_client_workarounds =
|
|
+ imap_client_workarounds = delay-newmail netscape-eoh tb-extra-mailbox-sep
|
|
}
|
|
|
|
##
|
|
@@ -572,11 +578,11 @@
|
|
|
|
protocol pop3 {
|
|
# Login executable location.
|
|
- #login_executable = /usr/libexec/dovecot/pop3-login
|
|
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
|
|
|
|
# POP3 executable location. See IMAP's mail_executable above for examples
|
|
# how this could be changed.
|
|
- #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
|
|
@@ -636,7 +642,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:
|
|
@@ -647,6 +653,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
|
|
}
|
|
|
|
##
|
|
@@ -664,7 +671,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/lda
|
|
+ #mail_plugin_dir = %%PREFIX%%/lib/dovecot/lda
|
|
|
|
# If user is over quota, return with temporary failure instead of
|
|
# bouncing the mail.
|
|
@@ -679,6 +686,7 @@
|
|
|
|
# Binary to use for sending mails.
|
|
#sendmail_path = /usr/lib/sendmail
|
|
+ sendmail_path = /usr/sbin/sendmail
|
|
|
|
# Human readable error message for rejection mails. Use can use variables:
|
|
# %n = CRLF, %r = reason, %s = subject, %t = recipient
|
|
@@ -693,7 +701,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
|
|
@@ -783,7 +791,7 @@
|
|
#auth_ntlm_use_winbind = no
|
|
|
|
# Path for Samba's ntlm_auth helper binary.
|
|
-#auth_winbind_helper_path = /usr/bin/ntlm_auth
|
|
+#auth_winbind_helper_path = %%PREFIX%%/bin/ntlm_auth
|
|
|
|
# Number of seconds to delay before replying to failed authentications.
|
|
#auth_failure_delay = 2
|
|
@@ -816,7 +824,7 @@
|
|
|
|
#passdb passwd-file {
|
|
# File contains a list of usernames, one per line
|
|
- #args = /etc/dovecot.deny
|
|
+ #args = %%PREFIX%%/etc/dovecot.deny
|
|
#deny = yes
|
|
#}
|
|
|
|
@@ -1053,7 +1061,7 @@
|
|
# referenced using URIs in format "proxy:<name>".
|
|
|
|
dict {
|
|
- #quota = mysql:/etc/dovecot-dict-quota.conf
|
|
+ #quota = mysql:%%PREFIX%%/etc/dovecot-dict-quota.conf
|
|
}
|
|
|
|
# Path to Berkeley DB's configuration file. See doc/dovecot-db.conf for an
|
|
@@ -1095,8 +1103,8 @@
|
|
# Each quota root has separate limits. Only the command for the first
|
|
# exceeded limit is excecuted, so put the highest limit first.
|
|
# Note that % needs to be escaped as %%, otherwise "% " expands to empty.
|
|
- # quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
|
|
- # quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
|
|
+ # quota_warning = storage=95%% %%PREFIX%%/local/bin/quota-warning.sh 95
|
|
+ # quota_warning2 = storage=80%% %%PREFIX%%/local/bin/quota-warning.sh 80
|
|
#quota = maildir
|
|
|
|
# ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir
|
|
@@ -1105,7 +1113,7 @@
|
|
# one file for each mailbox, eg. INBOX or sub.mailbox. cache_secs parameter
|
|
# specifies how many seconds to wait between stat()ing dovecot-acl file
|
|
# to see if it changed.
|
|
- #acl = vfile:/etc/dovecot-acls:cache_secs=300
|
|
+ #acl = vfile:%%PREFIX%%/etc/dovecot-acls:cache_secs=300
|
|
|
|
# Convert plugin. If set, specifies the source storage path which is
|
|
# converted to destination storage (mail_location) when the user logs in.
|
|
@@ -1124,14 +1132,14 @@
|
|
# until the message can be saved within quota limits. The configuration file
|
|
# is a text file where each line is in format: <priority> <mailbox name>
|
|
# Mails are first deleted in lowest -> highest priority number order
|
|
- #trash = /etc/dovecot-trash.conf
|
|
+ #trash = %%PREFIX%%/etc/dovecot-trash.conf
|
|
|
|
# Expire plugin. Mails are expunged from mailboxes after being there the
|
|
# configurable time. The first expiration date for each mailbox is stored in
|
|
# a dictionary so it can be quickly determined which mailboxes contain
|
|
# expired mails. The actual expunging is done in a nightly cronjob, which
|
|
# you must set up:
|
|
- # dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
|
|
+ # dovecot --exec-mail ext %%PREFIX%%/libexec/dovecot/expire-tool
|
|
#expire = Trash 7 Spam 30
|
|
#expire_dict = db:/var/lib/dovecot/expire.db
|
|
|