aboutsummaryrefslogtreecommitdiffstats
path: root/main/opensmtpd/opensmtpd.pre-install
blob: 8cbebc19a082dfd4550c90e64514e181a6cafadb (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 -H -D -s /sbin/nologin -h /dev/null -g 'SMTP Daemon' -G smtpd smtpd 2>/dev/null
adduser -S -H -D -s /sbin/nologin -h /dev/null -g 'SMTPD Queue' -G smtpq smtpq 2>/dev/null
mkdir -p /var/spool/mail

exit 0