hi-
i'm using opendkim with ldap, and softstart appears to not be working.
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_at_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 $?
78i
>opendkim -V
opendkim: OpenDKIM Filter v2.10.1
Compiled with OpenSSL 1.0.1f 6 Jan 2014
SMFI_VERSION 0x1000001
libmilter version 1.0.1
Supported signing algorithms:
rsa-sha1
rsa-sha256
Supported canonicalization algorithms:
relaxed
simple
Active code options:
QUERY_CACHE
USE_DB
USE_LDAP
USE_LUA
USE_ODBX
USE_UNBOUND
_FFR_ATPS
_FFR_RBL
_FFR_REPLACE_RULES
_FFR_STATS
_FFR_VBR
libopendkim 2.10.1: atps query_cache
what am i doing wrong?
thanks
-ben
Received on Wed Sep 30 2015 - 18:58:39 PST
This archive was generated by hypermail 2.3.0
: Wed Sep 30 2015 - 19:09:01 PST