[Kolab3] Postfix: unsupported dictionary type ldap, lookup failure

Henne Holly henne.gwath at gmx.de
Wed Mar 27 17:11:26 CET 2013


Hi,

after figuring out that I had to remove my old postfix-config,
setup-kolab mta worked fine. Note: You have to touch (create) files that
are not existing and setup complains about.

However it does not work out of the box. I enabled smtps and some
relay-features in the main.cf and master.cf. Authentication to
sasl-daemon seems to work but postfix complains about ldap-dictionary
and throws "temporary lookup failures". I think this is related to the
ldap: -maps. How to fix it?

Same when using local addresses and external arbitrary addresses.

Here a snippet from syslog. My postconf -n you find attached.

Mar 27 16:53:21 eolize postfix/smtpd[16172]: error: unsupported
dictionary type: ldap
Mar 27 16:53:21 eolize postfix/smtpd[16172]: error: unsupported
dictionary type: ldap
Mar 27 16:53:21 eolize postfix/smtpd[16172]: connect from
client.de[12.145.90.76]
Mar 27 16:53:21 eolize postfix/anvil[16173]: error: unsupported
dictionary type: ldap
Mar 27 16:53:21 eolize postfix/smtpd[16172]: Anonymous TLS connection
established from client.de[12.145.90.76]:
TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Mar 27 16:53:21 eolize postfix/trivial-rewrite[16159]: warning:
ldap:/etc/postfix/ldap/mydestination.cf is unavailable. unsupported
dictionary type: ldap
Mar 27 16:53:21 eolize postfix/trivial-rewrite[16159]: warning:
ldap:/etc/postfix/ldap/mydestination.cf: table lookup problem
Mar 27 16:53:21 eolize postfix/spawn[16174]: error: unsupported
dictionary type: ldap
Mar 27 16:53:22 eolize postfix/smtpd[16172]: NOQUEUE: reject: RCPT from
client.de[12.145.90.76]: 451 4.3.0
<user at domain.eu>: Temporary lookup failure; from=<user at domain.eu>
to=<user at domain.eu> proto=ESMTP helo=<[12.145.90.76]>
Mar 27 16:53:23 eolize postfix/smtpd[16172]: disconnect from
client.de[12.145.90.76]

kind regards,
Henning
-------------- next part --------------
append_dot_mydomain = no

biff = no

broken_sasl_auth_clients = yes

config_directory = /etc/postfix

content_filter = smtp-amavis:[127.0.0.1]:10024

inet_interfaces = all

local_recipient_maps = ldap:/etc/postfix/ldap/local_recipient_maps.cf

masquerade_classes = envelope_sender, envelope_recipient, header_sender, header_recipient

masquerade_domains = hollermann.eu

message_reject_characters = \0

mydestination = ldap:/etc/postfix/ldap/mydestination.cf

mynetworks = 192.168.1.0/24 127.0.0.0/8

readme_directory = no

recipient_delimiter = +

relay_domains =

relayhost = [relay.de]:25

smtp_cname_overrides_servername = no

smtp_sasl_auth_enable = yes

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

smtp_sasl_security_options = noanonymous

smtp_tls_note_starttls_offer = yes

smtp_use_tls = yes

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)

smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit

smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient

smtpd_sasl_authenticated_header = yes

smtpd_sasl_local_domain =

smtpd_sasl_path = smtpd

smtpd_sasl_type = cyrus

smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming

smtpd_starttls_timeout = 300s

smtpd_timeout = 300s

smtpd_tls_auth_only = yes

smtpd_tls_cert_file = /etc/ssl/certs/server.crt

smtpd_tls_key_file = /etc/ssl/private/server.key

smtpd_tls_loglevel = 1

smtpd_tls_received_header = no

smtpd_tls_session_cache_timeout = 3600s

smtpd_use_tls = yes

submission_data_restrictions = check_policy_service unix:private/submission_policy

submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject

submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject

tls_random_source = dev:/dev/urandom

transport_maps = ldap:/etc/postfix/ldap/transport_maps.cf



More information about the users mailing list