Re: Postfix always tries to connect to ldap on localhost

2009-10-01 Thread Victor Duchovni
On Thu, Oct 01, 2009 at 09:35:02AM +0200, Jakob Lenfers wrote: > I find the manpage not clear on that issue, perhaps it could be said > more explicitly here... > |file_name > | The name of the lookup table source file when rebuilding > a database. http://www.postfix.org/

Re: Postfix always tries to connect to ldap on localhost

2009-10-01 Thread Jakob Lenfers
Victor Duchovni schrieb: > On Wed, Sep 30, 2009 at 11:26:30PM +0200, Patrick Ben Koetter wrote: >>> ldap:/some/file.cf Thanks, that solved it. *shame* >> What happens if you don't use it properly? Why does it fall back to using >> localhost then? > The table name is assumed to refer to a par

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Stan Hoeppner
Jakob Lenfers put forth on 9/30/2009 10:00 AM: > Stan Hoeppner schrieb: >> Jakob Lenfers put forth on 9/30/2009 5:43 AM: >>> Stan Hoeppner schrieb: > "ldapsource_server_host" http://www.postfix.org/ldap_table.5.html >>> That helped in some way, thanks... I put the statements into th

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Victor Duchovni
On Wed, Sep 30, 2009 at 11:26:30PM +0200, Patrick Ben Koetter wrote: > > The file name has to start with a "/": > > > > ldap:/some/file.cf > > What happens if you don't use it properly? Why does it fall back to using > localhost then? The table name is assumed to refer to a parameter prefix

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Patrick Ben Koetter
* Victor Duchovni : > On Wed, Sep 30, 2009 at 05:00:46PM +0200, Jakob Lenfers wrote: > > > Stan Hoeppner schrieb: > > > Jakob Lenfers put forth on 9/30/2009 5:43 AM: > > >> Stan Hoeppner schrieb: > > > > >>> "ldapsource_server_host" > > >>> > > >>> http://www.postfix.org/ldap_table.5.html > > >>

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Victor Duchovni
On Wed, Sep 30, 2009 at 05:00:46PM +0200, Jakob Lenfers wrote: > Stan Hoeppner schrieb: > > Jakob Lenfers put forth on 9/30/2009 5:43 AM: > >> Stan Hoeppner schrieb: > > >>> "ldapsource_server_host" > >>> > >>> http://www.postfix.org/ldap_table.5.html > >> That helped in some way, thanks... I put

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Stan Hoeppner schrieb: > Jakob Lenfers put forth on 9/30/2009 5:43 AM: >> Stan Hoeppner schrieb: >>> "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

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Stan Hoeppner
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/l

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
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

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Stan Hoeppner
Jakob Lenfers put forth on 9/30/2009 3:19 AM: > Patrick Ben Koetter schrieb: >> * Jakob Lenfers : > >>> server_host = ldap://134.102.131.4 >> server_host = 134.102.131.4 I'm no expert on Postfix LDAP, but I found this interesting, and possibly related to your issue, specifically in the last sente

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Patrick Ben Koetter schrieb: > * Jakob Lenfers : >> server_host = ldap://134.102.131.4 > server_host = 134.102.131.4 Tried it, didn't work. And man ldap_table mentions both syntax forms. >> search_base = dc=taupo, dc=gsss, dc=uni-bremen, dc=de >> port = 389 > There's no parameter "port". Leave i

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Patrick Ben Koetter
* Jakob Lenfers : > Hi guys, > > I've installed a test mail server to try to connect postfix/cyrus to > ldap. The openldap server runs on another host and is already populated > for a PDC and other services. Cyrus is running and authenticating (with > SASL/PAM) against the LDAP all right. But now

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Hi guys, I've installed a test mail server to try to connect postfix/cyrus to ldap. The openldap server runs on another host and is already populated for a PDC and other services. Cyrus is running and authenticating (with SASL/PAM) against the LDAP all right. But now I'm trying to get the addresse