aboutsummaryrefslogtreecommitdiffstats
path: root/main/postfix/postfix.pre-install
blob: fc62efb3cf062912d0d848f205b34a985b39750e (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 /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