aboutsummaryrefslogtreecommitdiffstats
path: root/main/postfix/postfix.pre-install
blob: 132c195a12bc562c3df85d568d45f7967c212dc6 (plain)
1
2
3
4
5
6
7
8
9
#!/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