aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot/files
diff options
context:
space:
mode:
authorJeremy Chadwick <koitsu@FreeBSD.org>2008-11-16 04:51:41 +0000
committerJeremy Chadwick <koitsu@FreeBSD.org>2008-11-16 04:51:41 +0000
commitd946dc7a6ee057a354aa6bb77a43b74c94bdbf2c (patch)
tree7ba34c16f8f597134aa34e7e0051bc80612b7ce4 /mail/dovecot/files
parent0a2843a524d9726a750f6bcf47396e7bb83c1f0d (diff)
downloadports-d946dc7a6ee057a354aa6bb77a43b74c94bdbf2c.tar.gz
ports-d946dc7a6ee057a354aa6bb77a43b74c94bdbf2c.zip
Notes
Diffstat (limited to 'mail/dovecot/files')
-rw-r--r--mail/dovecot/files/dovecot.sh.in4
-rw-r--r--mail/dovecot/files/patch-dovecot-example.conf6
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/dovecot/files/dovecot.sh.in b/mail/dovecot/files/dovecot.sh.in
index 3db31630ed93..57a8dabd5f4a 100644
--- a/mail/dovecot/files/dovecot.sh.in
+++ b/mail/dovecot/files/dovecot.sh.in
@@ -30,8 +30,8 @@ dovecot_prestart()
{ # Ensure runtime directories exist with correct permissions
local base user gid
base=/var/run/${name}
- user=$(/usr/bin/awk -F '[[:space:]]*=[[:space:]]*' '/^[[:space:]]*login_user[[:space:]]*=/ { print $2 }' ${required_files})
- gid=$(/usr/sbin/pw usershow -n "${user:-${name}}" 2>/dev/null | /usr/bin/cut -d: -f4)
+ user=$(/usr/bin/awk -F '[[:space:]]*=[[:space:]]*' '/^[[:space:]]*login_user[[:space:]]*=/ { print $2 }' ${required_files})
+ gid=$(/usr/sbin/pw usershow -n "${user:-${name}}" 2>/dev/null | /usr/bin/cut -d: -f4)
/usr/bin/install -o root -g wheel -m 0755 -d ${base}
/usr/bin/install -o root -g ${gid} -m 0750 -d ${base}/login
}
diff --git a/mail/dovecot/files/patch-dovecot-example.conf b/mail/dovecot/files/patch-dovecot-example.conf
index e6b5d4421dc0..ec434b3af8ec 100644
--- a/mail/dovecot/files/patch-dovecot-example.conf
+++ b/mail/dovecot/files/patch-dovecot-example.conf
@@ -1,5 +1,5 @@
---- dovecot-example.conf.orig 2008-10-26 11:00:45.000000000 -0400
-+++ dovecot-example.conf 2008-10-26 11:00:45.000000000 -0400
+--- dovecot-example.conf.orig 2008-10-26 11:00:45.000000000 -0400
++++ dovecot-example.conf 2008-10-26 11:00:45.000000000 -0400
@@ -20,7 +20,7 @@
# Protocols we want to be serving: imap imaps pop3 pop3s
@@ -119,7 +119,7 @@
# drop away the domain if it was given, or "%n-AT-%d" would change the '@' into
# "-AT-". This translation is done after auth_username_translation changes.
-#auth_username_format =
-+auth_username_format = %Lu
++auth_username_format = %Lu
# If you want to allow master users to log in by specifying the master
# username within the normal username string (ie. not using SASL mechanism's