diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-02-24 01:21:24 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-02-24 10:23:10 -0600 |
commit | 9a0c15a041ea50a4bea42e6c59f391523b4e9b78 (patch) | |
tree | 6d9e8909476f0f96b2329cd35f51f7f4208b6b7b | |
parent | 386f5baf605497862c68ac9b96a8b854cdefc409 (diff) | |
download | slackbuilds-9a0c15a041ea50a4bea42e6c59f391523b4e9b78.tar.gz |
network/dovecot: Noted dovenull user/group requirements
Thanks to Niki Kovacs for pointing out our omission and
starting a nice discussion on the mailing list :-)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | network/dovecot/README | 6 | ||||
-rw-r--r-- | network/dovecot/dovecot.SlackBuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/network/dovecot/README b/network/dovecot/README index ea7c968be5..85a6336b06 100644 --- a/network/dovecot/README +++ b/network/dovecot/README @@ -2,10 +2,12 @@ This script builds dovecot with support for SSL. As such, you must have openssl installed - openssl-solibs is not enough in itself to meet this requirement. Additionally, dovecot will be compiled with POP3 support. -You should create a dovecot user to run the login processes on your server. -Something like this should work: +You should create users and groups for dovecot and dovenull to run the +login processes on your server. Something like this should work: [root@host] # groupadd -g 202 dovecot [root@host] # useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot +[root@host] # groupadd -g 248 dovenull +[root@host] # useradd -d /dev/null -s /bin/false -u 248 -g 248 dovenull From the dovecot-new release posting comes this word of advice: Remember to read http://wiki2.dovecot.org/Upgrading/2.0 before diff --git a/network/dovecot/dovecot.SlackBuild b/network/dovecot/dovecot.SlackBuild index bfda4ddce3..50d9989a16 100644 --- a/network/dovecot/dovecot.SlackBuild +++ b/network/dovecot/dovecot.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=dovecot VERSION=${VERSION:-2.1.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -39,9 +39,11 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} bailout() { - echo " You must have a dovecot user and group to build and/or use dovecot:" + echo " You must have both dovecot and dovenull users and groups:" echo " # groupadd -g 202 dovecot" echo " # useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot" + echo " # groupadd -g 248 dovenull" + echo " # useradd -d /dev/null -s /bin/false -u 248 -g 248 dovenull" exit 1 } |