Skip to content

Commit aa75d5e

Browse files
authored
Merge pull request #401 from orlitzky/recommended-uid-and-umask
opendkim/opendkim.conf.simple.in: add UserID and UMask examples
2 parents 1b618c2 + 27ca153 commit aa75d5e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

opendkim/opendkim.conf.simple.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ Socket inet:8891@localhost
1616
# (that the included service scripts use) is below.
1717
#Socket local:@RUNSTATEDIR@/opendkim/opendkim.sock
1818

19+
# An unprivileged user to run as. Our service scripts attempt to
20+
# use the "opendkim" user and group by default.
21+
#UserID opendkim
22+
23+
# The UMask applied when creating the PID file (before dropping
24+
# privileges) and the local UNIX socket (after dropping
25+
# privileges). To share a socket with e.g. postfix via group
26+
# permissions, use something like the following.
27+
#UMask 0117
28+
29+
1930
ReportAddress postmaster@@DOMAIN@
2031
SendReports yes
2132

0 commit comments

Comments
 (0)