Norberto Bensa: > Hello list! > > I'm trying to move my aliases to ldap. It's somewhat working right now > but I have a question. > > It seems that Postfix searches the database by the username part of > the email account. For example if I send email to [EMAIL PROTECTED] > (note that bensa.ar doesn't exist on the internet) Postfix checks for > "norberto" not "[EMAIL PROTECTED]" > > > main.cf: > > alias_maps = hash:/etc/mail/aliases > ldap:/etc/postfix/ldap-aliases.cf
As documented, alias_maps is searched by the address localpart only, and virtual_alias_maps is searched by the full address. See: http://www.postfix.org/ADDRESS_REWRITING_README.html and pages linked from it. Note: you can use virtual aliases WIHOUT having virtual alias domains. Wietse