> On Feb 18, 2018, at 8:26 AM, John Fawcett <j...@voipsupport.it> wrote:
> 
> Not sure if it helps, but with this configuration in /etc/postfix/main.cf
> 
> ldap = proxy:
> ldap:/etc/postfix/ldap

I see the same:

$ ls -ld /var/tmp/postfix/etc/ldap{,/foo.cf}
drwxr-xr-x  3 root  wheel  96 Feb 18 12:44 ldap
-rw-r--r--  1 root  wheel  24 Feb 18 12:43 ldap/foo.cf

$ postconf -n
postconf: warning: read "ldap" configuration "/var/tmp/postfix/etc/ldap": Is a 
directory
foo = proxy:ldap:${config_directory}/ldap
proxy_read_maps = ${foo}/foo.cf

$ postconf -d mail_version
mail_version = 3.3-20171028

And likewise with:

$ postconf -n
postconf: warning: read "ldap" configuration "/var/tmp/postfix/etc/": Is a 
directory
ldap = proxy:ldap:${config_directory}/
proxy_read_maps = ${ldap}foo.cf

Looks like validating LDAP/MySQL/PgSQL table definitions requires more care in
detecting which parameters actually use the RHS as a table, and which are 
"macros"
for building table definitions.

-- 
        Viktor.

Reply via email to