On Thu, 3 Apr 2014, Viktor Dukhovni wrote:

On Wed, Apr 02, 2014 at 02:08:56PM -1000, Baron Fujimoto wrote:

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,

This is in fact true and I believe documented.

Mahalo for the confirmation. I searched for documentation of this in
postconf(5), DATABASE_README, LDAP_README, and ldap_table(5), but didn't
see it explicitly stated in any of them. Perhaps I missed it or it can
be found elsewhere?

and that lookups would halt once a match was found.

True for any given lookup key, but keep in mind that alias expansion
is recursive!  So:

   /etc/aliases:
        foo: bar

   ldap:
        bar: baz

will route mail for "foo" to "baz".

I had assumed this, but also good to explicitly note.

-baron

Reply via email to