Package: opendkim
Version: 2.11.0~alpha-10
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
The Internet told me to use the script /lib/opendkim/opendkim.service.generate
in order to
apply the options given in the /etc/default/opendkim file.
This script doesn't works well with the following combination of changes:
- /etc/default/opendkim : change SOCKET to an inet one
- /lib/opendkim/opendkim.service.generate
- systemd: daemon-reload
- systemd: restart opendkim
- /etc/default/opendkim : change SOCKET to the original one (cf embedded file)
- /lib/opendkim/opendkim.service.generate
- systemd: daemon-reload
- systemd: restart opendkim (<= still listens on inet, not sockunix)
May the opendkim.service.generate script be adapted in a more idempotent
behaviour ?
My workaround here was to remove the /etc/systemd/system/opendkim.service.d
directory.
Thanks,
Guillaume.
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages opendkim depends on:
ii adduser 3.115
ii dns-root-data 2017041102
ii init-system-helpers 1.48
ii libbsd0 0.8.3-1
ii libc6 2.24-11+deb9u1
ii libdb5.3 5.3.28-12+b1
ii libldap-2.4-2 2.4.44+dfsg-5
ii liblua5.1-0 5.1.5-8.1+b2
ii libmemcached11 1.0.18-4.1
ii libmemcachedutil2 1.0.18-4.1
ii libmilter1.0.1 8.15.2-8
ii libopendbx1 1.4.6-11+b1
ii libopendkim11 2.11.0~alpha-10
ii librbl1 2.11.0~alpha-10
ii libssl1.1 1.1.0f-3
ii libunbound2 1.6.0-3
ii libvbr2 2.11.0~alpha-10
ii lsb-base 9.20161125
opendkim recommends no packages.
Versions of packages opendkim suggests:
ii opendkim-tools 2.11.0~alpha-10
pn unbound <none>
-- Configuration Files:
/etc/default/opendkim changed:
SOCKET="local:/var/run/opendkim/opendkim.sock"
/etc/dkimkeys/README.PrivateKeys [Errno 13] Permission denied:
'/etc/dkimkeys/README.PrivateKeys'
/etc/opendkim.conf changed:
AutoRestart Yes
AutoRestartRate 10/1h
UMask 002
Syslog yes
SyslogSuccess yes
LogWhy yes
Canonicalization relaxed/simple
ExternalIgnoreList file:/etc/opendkim/TrustedHosts
InternalHosts file:/etc/opendkim/TrustedHosts
KeyTable refile:/etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
Mode sv
SignatureAlgorithm rsa-sha256
-- no debconf information