Wietse Venema:
> # postfix stop
> > /usr/sbin/postconf: warning: read "ldap" configuration
> > "/etc/postfix-submission/ldap": Is a directory
>
> I'm closing this bug, so that I can unblock the Postfix 3.3 release.
>
> The reporter has not provided configuration details for reproducing this.
> Based on a reverse code analysis starting with the warning message, I
> can only reproduce the warning message when main.cf or master.cf contain,
> after $name expansion, a parameter value of the form:
To be precise, a parameter value with one of the following forms:
> ... maptype:/etc/postfix/ldap ...
> ... word:{... maptype:/etc/postfix/ldap ...} ...
> ... word:{... word:{... maptype:/etc/postfix/ldap ...} ...} ...
>
> and so on, recursively, where 'maptype' is a Postfix database type that
> uses a configuration file (examples: ldap, memcache, *sql) perhaps with
> a prefix of 'proxy:', and 'word' is a sequence that does not contain
> comma or whitespace.
To find the culprit in main.cf:
postconf -xn | grep /etc/postfix/ldap
Ditto for master.cf:
postconf -xM | grep /etc/postfix/ldap
The '-x' expands any $name instances.
Wietse