Jakob Lenfers put forth on 9/30/2009 5:43 AM: > Stan Hoeppner schrieb: > >> I'm no expert on Postfix LDAP, but I found this interesting, and >> possibly related to your issue, specifically in the last sentence of the >> paragraph below. >> >> "ldapsource_server_host" >> >> http://www.postfix.org/ldap_table.5.html > > That helped in some way, thanks... I put the statements into the main.cf > as described, but now I'm still curious what I did wrong...
So, is it querying the remote LDAP server correctly now? If so, you're welcome, and I'm glad it's working for you. -- Stan > | virtual.ldap_server_host = 134.102.131.4 > | virtual.ldap_search_base = ou=Users, dc=taupo, dc=gsss, dc=uni-bremen, > dc=de > | virtual.ldap_bind = no > | virtual.ldap_version = 3 > | #virtual.ldap_debuglevel = 10 > | virtual.ldap_query_filter = (|(mail=%s)(gosaMailAlternateAddress=%s)) > | virtual.ldap_result_attribute = uid, gosaMailForwardingAddress > | virtual.ldap_special_result_attribute = member > > And I don't get, why postconf -n doesn't show my virtual.ldap-entries... > > | r...@paka2:/etc/postfix# postconf -n > | alias_database = hash:/etc/aliases > | alias_maps = hash:/etc/aliases > | append_dot_mydomain = no > | biff = no > | config_directory = /etc/postfix > | inet_interfaces = all > | mailbox_size_limit = 0 > | mydestination = paka2.bigsss-bremen.de, paka2, localhost.localdomain, > localhost > | myhostname = paka2 > | mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 > | myorigin = /etc/mailname > | readme_directory = no > | recipient_delimiter = + > | relayhost = > | smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache > | smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) > | 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:${data_directory}/smtpd_scache > | smtpd_use_tls = yes > | virtual_alias_maps = ldap:/etc/postfix/virtual.ldap > > Jakob