Public bug reported:

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.10.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

** Affects: opendkim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453594

Title:
  softstart not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opendkim/+bug/1453594/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to