aboutsummaryrefslogtreecommitdiffstats
path: root/main/postgrey/postgrey.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/postgrey/postgrey.pre-install')
-rw-r--r--[-rwxr-xr-x]main/postgrey/postgrey.pre-install6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/postgrey/postgrey.pre-install b/main/postgrey/postgrey.pre-install
index e37a27f7d5..3c34c3fd5f 100755..100644
--- a/main/postgrey/postgrey.pre-install
+++ b/main/postgrey/postgrey.pre-install
@@ -1,2 +1,6 @@
#!/bin/sh
-adduser -h /var/spool/postfix/postgrey -g postgrey -s /bin/false -D postgrey &>/dev/null
+
+addgroup postgrey 2>/dev/null
+adduser -H -h /dev/null -s /bin/false -D postgrey 2>/dev/null
+
+exit 0