[fix] STRETCH compatibility: opendkim default files bigger now + reSTART bind9 at alternc.install, not RELOAD
This commit is contained in:
parent
cfd8a37fab
commit
2c1cd988d5
|
@ -4,7 +4,23 @@
|
||||||
# Command-line options specified here will override the contents of
|
# Command-line options specified here will override the contents of
|
||||||
# /etc/opendkim.conf. See opendkim(8) for a complete list of options.
|
# /etc/opendkim.conf. See opendkim(8) for a complete list of options.
|
||||||
#DAEMON_OPTS=""
|
#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
|
# Uncomment to specify an alternate socket
|
||||||
# Note that setting this will override any Socket value in opendkim.conf
|
# 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"
|
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=
|
||||||
|
|
|
@ -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
|
grep -q "^$PUBLIC_IP\$" /etc/opendkim/TrustedHosts || echo "$PUBLIC_IP" >>/etc/opendkim/TrustedHosts
|
||||||
|
|
||||||
# Add opendkim to service to restart
|
# Add opendkim to service to restart
|
||||||
SERVICES="$SERVICES opendkim"
|
SERVICES="$SERVICES opendkim bind9"
|
||||||
|
|
||||||
# hook
|
# hook
|
||||||
run-parts --arg=before-reload /usr/lib/alternc/install.d
|
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
|
# 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
|
invoke-rc.d $service force-reload || true
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue