Your message dated Wed, 10 Jun 2020 09:55:50 +0200
with message-id <[email protected]>
and subject line opendkim: Comment about SOCKET in /etc/default/opendkim is 
misleading
has caused the Debian Bug report #962577,
regarding Comment about SOCKET in /etc/default/opendkim is misleading
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
962577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962577
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opendkim
Version: 2.11.0~alpha-12

Hey,

Today I wanted to configure opendkim to work with postfix in chroot mode.
For this we need to change the socket path for opendkim.
First I opened /etc/default/opendkim, and there's this handy configuration;

> # Uncomment to specify an alternate socket
>
> # Note that setting this will override any Socket value in opendkim.conf
> # default:
> SOCKET=local:$RUNDIR/opendkim.sock

However this is untrue: indeed a Socket value in opendkim.conf takes
precedence. See these lines in the init.d script:

> if [ -f /etc/opendkim.conf ]; then
>         CONFIG_SOCKET=`awk '$1 == "Socket" { print $2 }'
/etc/opendkim.conf`
> fi
>
> # This can be set via Socket option in config file, so it's not required
> if [ -n "$SOCKET" -a -z "$CONFIG_SOCKET" ]; then
>         DAEMON_OPTS="-p $SOCKET $DAEMON_OPTS"
> fi

It's quite clear that if something is in /etc/opendkim.com, we won't use
the SOCKET env variable.

Thanks!

-- 
Julien

--- End Message ---
--- Begin Message ---
Version: 2.11.0~beta2-2

In current versions of opendkim, it is recommended to set the socket in
/etc/opendkim.conf directly.

The wiki has up-to-date configuration instructions (nowadays these are
oriented toward systemd, though): https://wiki.debian.org/opendkim

--- End Message ---

Reply via email to