From 9a0c15a041ea50a4bea42e6c59f391523b4e9b78 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 24 Feb 2013 01:21:24 -0600 Subject: 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 --- network/dovecot/README | 6 ++++-- network/dovecot/dovecot.SlackBuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'network') 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 } -- cgit v1.2.3