mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
Do not create the homedir when creating 'postfix' user. This is so we keep the permissions of /var/spool/postfix from apk. fixes #9335
9 lines
287 B
Bash
9 lines
287 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S postfix 2>/dev/null
|
|
addgroup -S postdrop 2>/dev/null
|
|
adduser -S -H -h /var/spool/postfix -G postfix -g postfix postfix 2>/dev/null
|
|
addgroup postfix mail 2>/dev/null
|
|
adduser -S -H -h /var/mail/domains -s /sbin/nologin -G postdrop -g vmail vmail 2>/dev/null
|
|
|
|
exit 0
|