Dear All,

I am trying to use ldap for recipents and domains for windows AD.
i installed postfix ldap

root@web:/etc/postfix# postconf -m
btree
cidr
environ
fail
hash
inline
internal
ldap
memcache
nis
pipemap
proxy
randmap
regexp
socketmap
static
tcp
tcp
texthash
unionmap
unix
root@web:/etc/postfix#


but when i run the command
 postmap -q jos...@domain.org ldap:/etc/postfix/exchange_recipients_lls.cf

it ends up with error

postmap: warning: unsupported dictionary type: ldap
(/usr/lib/postfix/dict_ldap.so: No such file or directory)
postmap: fatal: unsupported dictionary type: ldap

here is my configuration

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
content_filter = smtp-amavis:[127.0.0.1]:10024
disable_vrfy_command = yes
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 51100000
mydestination = ajax, anitbridge.com, exacto.domain.org,
localhost.creditexperts.org, localhost
myhostname = legacylegalservice.com
mynetworks = 10.81.128.0/24, 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relay_domains = 'proxy:ldap:/etc/postfix/exchange_domains_lls.cf'
relay_recipient_maps = 'proxy:ldap:/etc/postfix/exchange_recipients_lls.cf'
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination, reject_unauth_pipelining, check_client_access
hash:/etc/postfix/sender_checks, check_sender_access
hash:/etc/postfix/sender_checks, check_helo_access
hash:/etc/postfix/helo_checks, reject_invalid_hostname,
reject_non_fqdn_hostname, reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_unknown_sender_domain,
smtpd_sender_restrictions = permit_auth_destination,
reject_non_fqdn_sender, reject_unknown_sender_domain,
reject_unknown_recipient_domain
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
transport_maps = 'proxy:ldap:/etc/postfix/exchange_transport_lls.cf'
virtual_alias_maps = hash:/etc/postfix/vdomains



any advice will be highy appreciated.

Thanks,
Yousuf

Reply via email to