We recently added LDAP as a source lookup table for aliases, to supplement
our previously used aliases hash table using the "Postfix LDAP Howto"
<http://www.postfix.org/LDAP_README.html> as a reference. Happily, it
appears to work as expected.

One thing that wasn't clear to me though was if there was a precedence to
the order in which aliases are resolved based on their source. We have the
following in main.cf:

alias_maps = hash:/etc/aliases, ldap:/etc/postfix/aliases-ldap.cf

Ideally, for us, precedence would be determined by the order that the
sources are defined for alias_maps, and that lookups would halt once a
match was found.

I think this behavior is implied by the text provided with the example in
the Howto, but would be reassured by some positive confirmation.

Example: local(8) aliases

"Upon receiving mail for a local address "ldapuser" that isn't found in
the /etc/aliases database, Postfix will search the LDAP server listening
at port 389 on ldap.example.com."

Aloha,
-baron

Reply via email to