mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 01:21:46 +01: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
10 lines
287 B
Bash
10 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
|