summaryrefslogtreecommitdiff
path: root/files/opendkim
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-12-30 18:07:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-12-30 18:07:43 -0300
commit52e4f5906023c29c75e0e0c96f91cc4042d9f9ae (patch)
tree25230060020e2156d3893aa497ad722b0047ff0a /files/opendkim
parent516ed2041f3ff0d893ed116b11179e4c7ae2ad09 (diff)
downloadpuppet-mail-52e4f5906023c29c75e0e0c96f91cc4042d9f9ae.tar.gz
puppet-mail-52e4f5906023c29c75e0e0c96f91cc4042d9f9ae.tar.bz2
Bullseye updates
Diffstat (limited to 'files/opendkim')
-rw-r--r--files/opendkim/default32
1 files changed, 26 insertions, 6 deletions
diff --git a/files/opendkim/default b/files/opendkim/default
index 1098626..3d8de9b 100644
--- a/files/opendkim/default
+++ b/files/opendkim/default
@@ -1,11 +1,31 @@
-# Command-line options specified here will override the contents of
-# /etc/opendkim.conf. See opendkim(8) for a complete list of options.
+# NOTE: This is a legacy configuration file. It is not used by the opendkim
+# systemd service. Please use the corresponding configuration parameters in
+# /etc/opendkim.conf instead.
+#
+# Previously, one would edit the default settings here, and then execute
+# /lib/opendkim/opendkim.service.generate to generate systemd override files at
+# /etc/systemd/system/opendkim.service.d/override.conf and
+# /etc/tmpfiles.d/opendkim.conf. While this is still possible, it is now
+# recommended to adjust the settings directly in /etc/opendkim.conf.
+#
#DAEMON_OPTS=""
+# Change to /var/spool/postfix/run/opendkim to use a Unix socket with
+# postfix in a chroot:
+#RUNDIR=/var/spool/postfix/run/opendkim
+RUNDIR=/run/opendkim
#
# Uncomment to specify an alternate socket
# Note that setting this will override any Socket value in opendkim.conf
-#SOCKET="local:/var/run/opendkim/opendkim.sock" # default
-#SOCKET="inet:54321" # listen on all interfaces on port 54321
-#SOCKET="inet:12345@localhost" # listen on loopback on port 12345
-#SOCKET="inet:12345@192.0.2.1" # listen on 192.0.2.1 on port 12345
+# default:
+#SOCKET=local:$RUNDIR/opendkim.sock
+# listen on all interfaces on port 54321:
+#SOCKET=inet:54321
+# listen on loopback on port 12345:
+#SOCKET=inet:12345@localhost
+# listen on 192.0.2.1 on port 12345:
+#SOCKET=inet:12345@192.0.2.1
SOCKET="inet:12301@localhost"
+USER=opendkim
+GROUP=opendkim
+PIDFILE=$RUNDIR/$NAME.pid
+EXTRAAFTER=