From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 22:40:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 570D416A4E3 for ; Tue, 17 Aug 2004 22:40:26 +0000 (GMT) Received: from hermes.webtent.net (hermes.webtent.net [208.38.145.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96D3743D7E for ; Tue, 17 Aug 2004 22:40:21 +0000 (GMT) (envelope-from robert@webtent.com) Received: from [192.168.1.11] (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with ESMTP id i7HMeDJ29433 for ; Tue, 17 Aug 2004 18:40:13 -0400 From: Robert Fitzpatrick To: FreeBSD Content-Type: text/plain Organization: WebTent Networking, Inc. Message-Id: <1092782416.13413.58.camel@columbus.webtent.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 17 Aug 2004 18:40:16 -0400 Content-Transfer-Encoding: 7bit Subject: Postfix+LDAP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 22:40:27 -0000 Is the doc below still the way to go for LDAP support? I do a 'postconf -m' and see ldap on the list. With that, I setup the alias_maps as shown in the docs and used sample-ldap.cf to setup my main.cf file. I can't see any attempts to the LDAP directory in the logs, should there be? And in Webmin, it says 'It seems that LDAP is nonexistent in your Postfix system'. I am running the FreeBSD port postfix-2.0.16...but thinking of doing portupgrade to 2.1. BTW, I don't see any notes on this kind of upgrade in /usr/ports/UPDATING. Any advice? http://www.postfix.org/LDAP_README.html esmtp# cat /etc/ldap-aliases.cf server_host = directory.webtent.net search_base = dc=webtent, dc=net esmtp# grep ldap main.cf ldap_timeout = 10 ldap_search_base = dc=webtent,dc=net ldap_server_host = localhost ldap_server_port = 389 ldap_query_filter = (uid=%s) ldap_result_filter = %s ldap_result_attribute = mailRoutingAddress ldap_scope = sub ldap_bind = yes ldap_bind_dn = cn=,dc=webtent,dc=net ldap_bind_pw = alias_maps = hash:/etc/aliases, ldap:/etc/ldap-aliases.cf -- Robert