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