1 # arg 1: the new package version
3 # UID selected is 113, i really do not know what it bust be!
6 groupadd -g 113 greylist &>/dev/null
7 useradd -u 113 -g greylist -d /var/run/greylistd -s /bin/false greylist &>/dev/null
8 if [ ! -e /var/run/greylistd ]; then
9 mkdir /var/run/greylistd
11 chown greylist:greylist /var/run/greylistd
12 chmod 755 /var/run/greylistd
13 if [ ! -e /var/lib/greylistd ]; then
14 mkdir /var/lib/greylistd
16 chown greylist:greylist /var/lib/greylistd
17 chmod 755 /var/lib/greylistd
20 # arg 1: the new package version
21 # arg 2: the old package version
26 # arg 1: the old package version
28 userdel greylist &>/dev/null
29 groupdel greylist &>/dev/null
30 rm -rf /var/run/greylistd