aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-03-06 07:58:09 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-03-06 07:58:09 +0800
commitfcd6bc27e6a5ca13066efc70710c1eea2b6f7835 (patch)
tree81f63630c03271e31d16a7be4f946e34e235ce90 /mail/dovecot
parentebb8715ebd7cc21d12731f6c0d987a664757d851 (diff)
downloadfreebsd-ports-gnome-fcd6bc27e6a5ca13066efc70710c1eea2b6f7835.tar.gz
freebsd-ports-gnome-fcd6bc27e6a5ca13066efc70710c1eea2b6f7835.tar.zst
freebsd-ports-gnome-fcd6bc27e6a5ca13066efc70710c1eea2b6f7835.zip
- Update to 1.0.12
- Fixes a common insecure mail_extra_groups setting usage, this will require a manual change to the active configuration file, please refer to ports/UPDATING PR: 121411 Submitted by: Robin Breathe <robin@isometry.net> (maintainer)
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/Makefile2
-rw-r--r--mail/dovecot/distinfo6
-rw-r--r--mail/dovecot/files/dovecot.sh.in2
-rw-r--r--mail/dovecot/files/patch-dovecot-example.conf88
4 files changed, 67 insertions, 31 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index fe83e54ddc45..5e24a32bae4e 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dovecot
-DISTVERSION= 1.0.10
+DISTVERSION= 1.0.12
CATEGORIES= mail ipv6
MASTER_SITES= http://www.dovecot.org/releases/1.0/
diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo
index 5f249c2a66d4..b43cc4d781da 100644
--- a/mail/dovecot/distinfo
+++ b/mail/dovecot/distinfo
@@ -1,3 +1,3 @@
-MD5 (dovecot-1.0.10.tar.gz) = c050fa2a7dae8984d432595e3e8183e1
-SHA256 (dovecot-1.0.10.tar.gz) = df7aca6e7be748e02148bcc07173a19fcd5f4777b102e3f49b60f491f86b0fd3
-SIZE (dovecot-1.0.10.tar.gz) = 1797790
+MD5 (dovecot-1.0.12.tar.gz) = a03779d3df13eadd0d3fa42802143e1e
+SHA256 (dovecot-1.0.12.tar.gz) = 8f143e42716aeeecb1c0fb5b1aaece7a37f0df209258d11b8482545eab2e7e88
+SIZE (dovecot-1.0.12.tar.gz) = 1772998
diff --git a/mail/dovecot/files/dovecot.sh.in b/mail/dovecot/files/dovecot.sh.in
index 4d6d3ecc21a8..54240d56d9fd 100644
--- a/mail/dovecot/files/dovecot.sh.in
+++ b/mail/dovecot/files/dovecot.sh.in
@@ -4,7 +4,7 @@
#
# PROVIDE: dovecot
-# REQUIRE: LOGIN
+# REQUIRE: LOGIN ntpdate
# KEYWORD: shutdown
#
diff --git a/mail/dovecot/files/patch-dovecot-example.conf b/mail/dovecot/files/patch-dovecot-example.conf
index 0e7fd3997388..b534647dd4a4 100644
--- a/mail/dovecot/files/patch-dovecot-example.conf
+++ b/mail/dovecot/files/patch-dovecot-example.conf
@@ -1,6 +1,6 @@
---- dovecot-example.conf.orig Wed Jan 3 23:19:41 2007
-+++ dovecot-example.conf Sun Jan 7 15:42:35 2007
-@@ -9,7 +9,7 @@
+--- dovecot-example.conf.orig 2008-03-04 05:48:12.000000000 +0000
++++ dovecot-example.conf 2008-03-05 22:49:08.554336095 +0000
+@@ -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
@@ -9,7 +9,7 @@
# --with-ssldir=/etc/ssl
# Base directory where to store runtime data.
-@@ -18,6 +18,7 @@
+@@ -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
@@ -17,23 +17,23 @@
# IP or host address where to listen in for connections. It's not currently
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
-@@ -205,6 +206,7 @@
- # http://wiki.dovecot.org/MailLocation
+@@ -210,6 +212,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:
-@@ -248,6 +250,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
-@@ -300,6 +303,7 @@
+ # namespace settings, you can do it by defining namespace sections.
+@@ -256,6 +259,7 @@
+ # used only for creating mbox dotlock files when creation fails for INBOX.
+ # 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
+@@ -320,6 +324,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
@@ -41,7 +41,7 @@
# 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.
-@@ -313,6 +317,7 @@
+@@ -333,6 +338,7 @@
# belongs to supplementary groups with non-valid GIDs, those groups are
# not set.
#first_valid_gid = 1
@@ -49,7 +49,7 @@
#last_valid_gid = 0
# Maximum number of running mail processes. When this limit is reached,
-@@ -489,19 +494,19 @@
+@@ -506,19 +512,19 @@
protocol imap {
# Login executable location.
@@ -73,7 +73,7 @@
# 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
-@@ -511,7 +516,7 @@
+@@ -528,7 +534,7 @@
# Support for dynamically loadable plugins. mail_plugins is a space separated
# list of plugins to load.
#mail_plugins =
@@ -82,7 +82,7 @@
# Send IMAP capabilities in greeting message. This makes it unnecessary for
# clients to request it with CAPABILITY command, so it saves one round-trip.
-@@ -546,6 +551,7 @@
+@@ -563,6 +569,7 @@
# accept '/' suffix in mailbox names in subscriptions list.
# The list is space-separated.
#imap_client_workarounds = outlook-idle
@@ -90,7 +90,7 @@
}
##
-@@ -554,11 +560,11 @@
+@@ -571,11 +578,11 @@
protocol pop3 {
# Login executable location.
@@ -104,7 +104,7 @@
# 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
-@@ -604,6 +610,7 @@
+@@ -621,6 +628,7 @@
# installations.
#
#pop3_uidl_format =
@@ -112,7 +112,7 @@
# POP3 logout format string:
# %t - number of TOP commands
-@@ -618,7 +625,7 @@
+@@ -635,7 +643,7 @@
# Support for dynamically loadable plugins. mail_plugins is a space separated
# list of plugins to load.
#mail_plugins =
@@ -121,7 +121,7 @@
# Workarounds for various client bugs:
# outlook-no-nuls:
-@@ -629,6 +636,7 @@
+@@ -646,6 +654,7 @@
# missing. This option simply sends it if it's missing.
# The list is space-separated.
#pop3_client_workarounds =
@@ -129,7 +129,7 @@
}
##
-@@ -646,10 +654,11 @@
+@@ -663,10 +672,11 @@
# Support for dynamically loadable plugins. mail_plugins is a space separated
# list of plugins to load.
#mail_plugins =
@@ -142,7 +142,7 @@
# UNIX socket path to master authentication server to find users.
#auth_socket_path = /var/run/dovecot/auth-master
-@@ -660,7 +669,7 @@
+@@ -677,7 +687,7 @@
##
# Executable location
@@ -151,3 +151,39 @@
# Set max. process size in megabytes.
#auth_process_size = 256
+@@ -783,7 +793,7 @@
+
+ #passdb passwd-file {
+ # File contains a list of usernames, one per line
+- #args = /etc/dovecot.deny
++ #args = %%PREFIX%%/etc/dovecot.deny
+ #deny = yes
+ #}
+
+@@ -1021,7 +1031,7 @@
+ # referenced using URIs in format "proxy:<name>".
+
+ dict {
+- #quota = mysql:/etc/dovecot-dict-quota.conf
++ #quota = mysql:%%PREFIX%%/etc/dovecot-dict-quota.conf
+ }
+
+ ##
+@@ -1045,7 +1055,7 @@
+ # directory. You can also optionally give a global ACL directory path where
+ # ACLs are applied to all users' mailboxes. The global ACL directory contains
+ # one file for each mailbox, eg. INBOX or sub.mailbox.
+- #acl = vfile:/etc/dovecot-acls
++ #acl = vfile:%%PREFIX%%/etc/dovecot-acls
+
+ # Convert plugin. If set, specifies the source storage path which is
+ # converted to destination storage (mail_location) when the user logs in.
+@@ -1059,7 +1069,7 @@
+ # 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
+
+ # Lazy expunge plugin. Currently works only with maildirs. When a user
+ # expunges mails, the mails are moved to a mailbox in another namespace