Kristof Bajnok: > Hi, > > I have several alias domains, I mean where users should receive mails > for both u...@domain.com (call it 'canonical') and u...@domain.org > ('alias') mail addresses. > > However, the delivery is done by an LMTP server which can not handle the > alias domains, its user database (LDAP) only contains the canonical > addresses, therefore I need to rewrite the aliased addresses to > canonical ones in Postfix before passing the message to the MDA. How can I?
You should rewrite the envelope recipient address with virtual_alias_maps, from the alias form to the canonical form. This will also validate the alias form as a valid address in RCPT TO commands. Wietse