mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 05:42:12 +01:00
Now all invocations have following order of arguments (if present):
addgroup -S -g ... GROUP
adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
10 lines
286 B
Bash
10 lines
286 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S smtpd 2>/dev/null
|
|
addgroup -S smtpq 2>/dev/null
|
|
adduser -S -D -H -h /dev/null -s /sbin/nologin -G smtpd -g 'SMTP Daemon' smtpd 2>/dev/null
|
|
adduser -S -D -H -h /dev/null -s /sbin/nologin -G smtpq -g 'SMTPD Queue' smtpq 2>/dev/null
|
|
mkdir -p /var/spool/mail
|
|
|
|
exit 0
|