← Back to team overview

ubuntu-mail-server team mailing list archive

[Bug 1453594] Re: softstart not working

 

** Description changed:

  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
+ 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
+   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

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

Title:
  softstart not working

Status in opendkim package in Ubuntu:
  New

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

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


References