wok rev 10721
postfix: Fixed uid for postdrop group and postfix user. We should use uid 75 for postfix user and uid 73 for postdrop. Postdrop group was seting itself to 1000 uid before.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 28 18:20:04 2011 +0000 (2011-05-28) |
parents | dc6f2b0927fc |
children | df0ab0545425 |
files | postfix/receipt |
line diff
1.1 --- a/postfix/receipt Sun May 29 00:12:46 2011 +0200 1.2 +++ b/postfix/receipt Sat May 28 18:20:04 2011 +0000 1.3 @@ -71,13 +71,13 @@ 1.4 if ! grep -q postfix $1/etc/passwd; then 1.5 echo -n "Adding user Postfix..." 1.6 chroot $1/ adduser -s /bin/false -h /dev/null \ 1.7 - -g "Postfix Daemon user" -H -D -S postfix 1.8 + -g "Postfix Daemon user" -u 75 -H -D postfix 1.9 status 1.10 fi 1.11 # addgroup postdrop if needed 1.12 if ! grep -q postdrop $1/etc/group; then 1.13 echo -n "Adding group postdrop..." 1.14 - chroot $1/ addgroup postdrop 1.15 + chroot $1/ addgroup -u 73 postdrop 1.16 status 1.17 fi 1.18 chroot $1/ sh -c 'chown postfix /var/spool/postfix/* /var/lib/postfix'