Re: Postfix always tries to connect to ldap on localhost
- Victor Duchovni schrieb:
> On Wed, Sep 30, 2009 at 11:26:30PM +0200, Patrick Ben Koetter wrote:Thanks, that solved it. *shame*
>> What happens if you don't use it properly? Why does it fall back to usingI find the manpage not clear on that issue, perhaps it could be said
>> localhost then?
> The table name is assumed to refer to a parameter prefix, rather than a
> file-name, and in the absense of explicit settings for said parameters,
> they all take the documented default values.
more explicitly here...
| The name of the lookup table source file when rebuilding
- 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 saidhttp://www.postfix.org/ldap_table.5.html
> more explicitly here...
> | file_name
> | The name of the lookup table source file when rebuilding
> a database.
For backwards compatibility with Postfix version 2.0 and
earlier, LDAP parameters can also be defined in main.cf.
Specify as LDAP source a name that doesn't begin with a
slash or a dot. The LDAP parameters will then be accessi-
ble as the name you've given the source in its definition,
an underscore, and the name of the parameter. For exam-
ple, if the map is specified as "ldap:ldapsource", the
"server_host" parameter below would be defined in main.cf
I see no mention of "file_name" in ldap_table(5).
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.