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 [email protected] as a alias. When I send an email to > [email protected] then the catch-all address receives > the message correctly. But when I send to [email protected] the > catch-all is being recognized before the real alias, so my > [email protected] alias never works. > > What's the right order to query alias or accounts databases stored in LDAP? >
if [email protected] is a virtual alias, then it will be used. in short: [email protected] [email protected] @example.com [email protected] will work "as expected" ([email protected] won't go to [email protected]). The lookup order is explained in "virtual" man page.
