summaryrefslogtreecommitdiff
path: root/mail/dovecot-devel/files
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-30 14:06:35 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-30 14:06:35 +0000
commit23b1777850d1311d606eaea323eb2717bb76a27d (patch)
treed665253e0839ce5adfe57165fada534e97792017 /mail/dovecot-devel/files
parentAdd xmlcatmgr 0.2, SGML/XML catalog manager. (diff)
mail/dovecot 0.99.10
o Synchronise README.FreeBSD with current reality. o Improve security a little by adding a 'dovecot-auth' user and group. PR: 53875 Submitted by: Dominic Marks <dominic.marks@btinternet.com> (maintainer)
Notes
Notes: svn path=/head/; revision=83900
Diffstat (limited to 'mail/dovecot-devel/files')
-rw-r--r--mail/dovecot-devel/files/README.FreeBSD48
-rw-r--r--mail/dovecot-devel/files/patch-dovecot-example.conf6
2 files changed, 41 insertions, 13 deletions
diff --git a/mail/dovecot-devel/files/README.FreeBSD b/mail/dovecot-devel/files/README.FreeBSD
index 093fdf57ea81..0ca49a31021c 100644
--- a/mail/dovecot-devel/files/README.FreeBSD
+++ b/mail/dovecot-devel/files/README.FreeBSD
@@ -4,13 +4,38 @@
# $FreeBSD$
#
- o Dovecot currently will not allow users with a user or group id of 0
- to login. Because of this you will not be able to open root's
- mailbox, or any of the mailboxes of users in the wheel group. This is
- intended as a security feature, and isn't an issue on Linux because
- the concept of wheel is not enforced by GNU su.
+-> 2003/06/28 (NEW)
- + 2003/04/15
+ o The authentication mechanism is different on FreeBSD 4 and 5.
+ For the default configuration set the following variables in
+ your dovecot.conf according to your version of FreeBSD.
+
+ + FreeBSD 4 (DEFAULT)
+
+ auth_passdb = passwd
+ auth_user = dovecot-auth
+
+ + FreeBSD 5
+
+ auth_passdb = pam *
+ auth_user = root
+
+-> 2003/04/15
+
+ o Dovecot will not allow users with a user or group id of 0 to
+ login. Because of this you will not be able to open root's
+ mailbox, or any of the mailboxes of users in the wheel group.
+
+ + 2003/06/28 (NEW)
+ Dovecot now has four configuration variables which allow you to
+ set the high and low boundaries for acceptable user and group ids.
+ You still can not login to root's mailbox with Dovecot however.
+ The default configuration which comes with the port is now
+ configured to accept connections from users in the wheel group,
+ my patch which added the allow_zero_gid variable below has been
+ removed. Update your configurations to match.
+
+ + 2003/04/15 (DEPRECIATED)
It is now possible to change this behavior to allow wheel users to
check their mailboxes with Dovecot. Add the following line to your
dovecot.conf:
@@ -48,11 +73,14 @@
The variables you will want to set in dovecot.conf to allow a SSL
secured POP3 and IMAP service are:
- + protocols = imap imaps pop3 pop3s
- + ssl_disable = no
+ protocols = imap imaps pop3 pop3s
+ ssl_disable = no
You may wish to also change the following variables to reflect the
location of SSL certificates on your system.
- + ssl_cert_file = /var/dovecot/ssl/certs/imapd.pem
- + ssl_key_file = /var/dovecot/ssl/private/imapd.pem
+ ssl_cert_file = /var/dovecot/ssl/certs/imapd.pem
+ ssl_key_file = /var/dovecot/ssl/private/imapd.pem
+
+Thanks,
+Dominic Marks <dominic.marks@btinternet.com>
diff --git a/mail/dovecot-devel/files/patch-dovecot-example.conf b/mail/dovecot-devel/files/patch-dovecot-example.conf
index 27f2883a551a..faf7e730cbf2 100644
--- a/mail/dovecot-devel/files/patch-dovecot-example.conf
+++ b/mail/dovecot-devel/files/patch-dovecot-example.conf
@@ -1,5 +1,5 @@
--- dovecot-example.conf.orig Thu Jun 26 17:11:06 2003
-+++ dovecot-example.conf Thu Jun 26 22:36:08 2003
++++ dovecot-example.conf Sat Jun 28 14:45:41 2003
@@ -7,11 +7,11 @@
# --with-ssldir=/etc/ssl
@@ -71,7 +71,7 @@
# Number of login processes to create. If login_process_per_user is
# yes, this is the number of extra processes waiting for users to log in.
-#login_processes_count = 3
-+login_processes_count = 1
++#login_processes_count = 1
# Maximum number of extra login processes to create. The extra process count
# usually stays at login_processes_count, but when multiple users start logging
@@ -213,7 +213,7 @@
# password databases, nothing else. Only shadow and pam authentication
# requires roots, so use something else if possible.
-auth_user = root
-+auth_user = dovecot
++auth_user = dovecot-auth
# Directory where to chroot the process. Most authentication backends don't
# work if this is set, and there's no point chrooting if auth_user is root.