Jason Voorhees a écrit : > Hi people: > > I'm trying to set up a catch-all feature in my Postfix server based on > LDAP. Here's my scenario: > > - Mail Accounts with VirtualMailAccount object class > - Alias with VirtualAlias object class > > How can I tell Postfix to look for users/alias and return the > catch-all address when the original destination isn't found? > > I have i...@domain.com as a alias. When I send an email to > non-existant-acco...@domain.com then the catch-all address receives > the message correctly. But when I send to i...@domain.com the > catch-all is being recognized before the real alias, so my > i...@domain.com alias never works. > > What's the right order to query alias or accounts databases stored in LDAP? >
if i...@domain.example is a virtual alias, then it will be used. in short: j...@example.com j...@example.net @example.com f...@example.org will work "as expected" (j...@example.com won't go to f...@example.org). The lookup order is explained in "virtual" man page.