From: Victor Duchovni (no email)
Date: Sat Mar 01 2008 - 22:37:54 EST
On Sat, Mar 01, 2008 at 02:33:28PM +0000, Lou Picciano wrote:
> Victor,
>
> As I mentioned in my original post, I had already tried the syntax within the ldap source both prefixed, and non-prefixed, with same results...
> (I simply sent you the result of the last experiment!)
>
> I've since updated OpenLDAP to v2.4.8, and have rebuilt Postfix 2.5.1 against it. Per your note, all entries in ldap sources are 'prefixed' appropriately:
>
> # = = = LDAP DOMAINS - have similar files for accounts, accountsmaps and aliases.
> domains_server_host = 127.0.0.1
> domains_version = 3
> domains_search_base = o=mail,dc=realdomainname,dc=com
> domains_query_filter = (&(objectClass=JammVirtualDomain)(jvd=%s)(accountActive=TRUE)(delete=FALSE))
> domains_result_attribute = jvd
> domains_bind = no
> domains_scope = one
>
> - Though all ldap 'source' definitions are in same dir as main.cf, postmap responds as if it cannot read the file
What do you by "in the same dir"? The above syntax is for settings in main.cf
and table references of the form "ldap:domains". If you want settings in a
separate file, remove *all* the prefixes, and use:
ldap:/etc/postfix/domains.cf
assuming that the file is /etc/postfix/domains.cf. You sure seem to have
the wrong end of the stick...
-- Viktor. 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: <mailto:?body=unsubscribe%20postfix-users> 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.
|
|
|