softstart not working

Bug #1453594 reported by ben thielsen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
opendkim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

as per opendkim.conf(5), i've enabled softstart:

egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' opendkim.conf
PidFile /run/opendkim/opendkim.pid
Syslog yes
SyslogSuccess yes
LogWhy yes
UMask 002
BaseDirectory /etc/opendkim
Socket inet:dkim-filter@localhost
Mode s
Quarantine no
RemoveOldSignatures no
SubDomains no
SoftStart yes
LDAPUseTLS yes
LDAPBindUser cn=opendkim,ou=exo,ou=services,ou=accounts,dc=example,dc=com
LDAPBindPassword xxxxxxxxxxxxxxxx
InternalHosts localhost, 192.0.2.1
Selector default
KeyFile /etc/opendkim/keys/default-private_key.pem
Domain ldap://dsa.example.com/ou=domains,ou=mail,dc=example,dc=com?host?sub?(host=$d)

but opendkim still fails to start if the ldap server is not available:

>/usr/sbin/opendkim -u opendkim -x /etc/opendkim/opendkim.conf
opendkim: /etc/opendkim/opendkim.conf: ldap://dsaexample.com/ou=domains,ou=mail,dc=example,dc=com?host?sub?(host=$d): dkimf_db_open(): Can't contact LDAP server

>echo $?
78

1] >lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

2] >apt-cache policy opendkim
opendkim:
  Installed: 2.10.1-1
  Candidate: 2.10.1-1
  Version table:
 *** 2.10.1-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status

3] i expected opendkim to start even though the ldap server could not be contacted
4] it did not

description: updated
Revision history for this message
ben thielsen (btb-bitrate) wrote :

upstream has indicated this is a bug:
http://lists.opendkim.org/archive/opendkim/users/2015/10/3579.html

i've submitted an upstream ticket:
https://sourceforge.net/p/opendkim/bugs/237/

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in opendkim (Ubuntu):
status: New → Confirmed
Revision history for this message
David Bürgin (glts) wrote :

This is fixed in opendkim version 2.11.0~alpha-11 (Ubuntu 18.04).

Changed in opendkim (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.