From 2c1cd988d57816f50c690a16a28d08d79ea35b57 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 8 Oct 2017 14:02:15 +0200 Subject: [PATCH] =?UTF-8?q?[fix]=C2=A0STRETCH=20compatibility:=20opendkim?= =?UTF-8?q?=20default=20files=20bigger=20now=20+=20reSTART=20bind9=20at=20?= =?UTF-8?q?alternc.install,=20not=20RELOAD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/alternc/templates/default/opendkim | 16 ++++++++++++++++ jessie/alternc.install | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/etc/alternc/templates/default/opendkim b/etc/alternc/templates/default/opendkim index 690c9030..2e309626 100644 --- a/etc/alternc/templates/default/opendkim +++ b/etc/alternc/templates/default/opendkim @@ -4,7 +4,23 @@ # Command-line options specified here will override the contents of # /etc/opendkim.conf. See opendkim(8) for a complete list of options. #DAEMON_OPTS="" +# Change to /var/spool/postfix/var/run/opendkim to use a Unix socket with +# postfix in a chroot: +#RUNDIR=/var/spool/postfix/var/run/opendkim +RUNDIR=/var/run/opendkim # # Uncomment to specify an alternate socket # Note that setting this will override any Socket value in opendkim.conf +# default: +#SOCKET=local:$RUNDIR/opendkim.sock SOCKET="inet:8891@127.0.0.1" +# 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 +USER=opendkim +GROUP=opendkim +PIDFILE=$RUNDIR/$NAME.pid +EXTRAAFTER= diff --git a/jessie/alternc.install b/jessie/alternc.install index bad00b3e..13eb33e3 100644 --- a/jessie/alternc.install +++ b/jessie/alternc.install @@ -598,7 +598,7 @@ grep -q "^localhost\$" /etc/opendkim/TrustedHosts || echo "localhost" >>/etc/ope grep -q "^$PUBLIC_IP\$" /etc/opendkim/TrustedHosts || echo "$PUBLIC_IP" >>/etc/opendkim/TrustedHosts # Add opendkim to service to restart -SERVICES="$SERVICES opendkim" +SERVICES="$SERVICES opendkim bind9" # hook run-parts --arg=before-reload /usr/lib/alternc/install.d @@ -606,7 +606,7 @@ run-parts --arg=before-reload /usr/lib/alternc/install.d ####################################################################### # Reload services # -for service in postfix bind9 apache2 dovecot cron proftpd ; do +for service in postfix apache2 dovecot cron proftpd ; do invoke-rc.d $service force-reload || true done