aboutsummaryrefslogtreecommitdiffstats
path: root/main/opensmtpd/opensmtpd.pre-install
blob: 2c3f80dcf40e74ff7fa198a8a96a40065e3329f1 (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/mail

exit 0