diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2008-03-05 23:58:09 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2008-03-05 23:58:09 +0000 |
commit | e2f5178cab04c28835b65ef93dc9d6a487caef44 (patch) | |
tree | 950ac35df1a06f55f094b9e8028526f9b4763416 /mail/dovecot/files | |
parent | 9e55f05281e401d15b34f228cecbe0852db2c903 (diff) | |
download | ports-e2f5178cab04c28835b65ef93dc9d6a487caef44.tar.gz ports-e2f5178cab04c28835b65ef93dc9d6a487caef44.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)
Notes
Notes:
svn path=/head/; revision=208482
Diffstat (limited to 'mail/dovecot/files')
-rw-r--r-- | mail/dovecot/files/dovecot.sh.in | 2 | ||||
-rw-r--r-- | mail/dovecot/files/patch-dovecot-example.conf | 88 |
2 files changed, 63 insertions, 27 deletions
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 |