diff options
Diffstat (limited to 'testing/opensmtpd/opensmtpd.pre-install')
-rw-r--r-- | testing/opensmtpd/opensmtpd.pre-install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/opensmtpd/opensmtpd.pre-install b/testing/opensmtpd/opensmtpd.pre-install new file mode 100644 index 0000000000..af0620e3db --- /dev/null +++ b/testing/opensmtpd/opensmtpd.pre-install @@ -0,0 +1,11 @@ +#!/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 |