Use setup.py expand to fill out etc/dkimpy-milter.conf

This commit is contained in:
Scott Kitterman
2019-04-25 07:02:15 -04:00
parent ae8b17c0ce
commit 6dacbb59df
2 changed files with 50 additions and 1 deletions
+49
View File
@@ -0,0 +1,49 @@
# This is a basic configuration that can easily be adapted to suit a standard
# installation. For more advanced options, see dkimpy-milter.conf(5) and/or
# /usr/share/doc/dkimpy-milter/examples/opendkim.conf.sample.
# Log to syslog
Syslog yes
# Required to use local socket with MTAs that access the socket as a non-
# privileged user (e.g. Postfix)
UMask 007
# Sign for example.com with key in @SYSCONFDIR@/dkimkeys/dkim.key using
# selector '2007' (e.g. 2007._domainkey.example.com)
#Domain example.com
#KeyFile @SYSCONFDIR@/mail/dkim.key
#Selector default
# Commonly-used options; the commented-out versions show the defaults.
#Canonicalization relaxed/simple
#Mode sv
# Socket local:@RUNSTATEDIR@/dkimpy-milter/dkimpy-milter.sock
#
# ## Socket socketspec
# ##
# ## Names the socket where this filter should listen for milter connections
# ## from the MTA. Required. Should be in one of these forms:
# ##
# ## inet:port@address to listen on a specific interface
# ## inet:port to listen on all interfaces
# ## local:/path/to/socket to listen on a UNIX domain socket
#
Socket inet:8892@localhost
## PidFile filename
### default /run/dkimpy-milter/dkimpy-milter.pid
###
### Name of the file where the filter should write its pid before beginning
### normal operations.
#
PidFile @RUNSTATEDIR@/dkimpy-milter/dkimpy-milter.pid
## Userid userid
### default dkimpy-milter
###
### Change to user "userid" before starting normal operation? May include
### a group ID as well, separated from the userid by a colon.
#
UserID dkimpy-milter