jeffrey j donovan:
> If I do not use a virtual alias map, is a transport map sufficient
> by itself or should I always use the two together ? I only ask
> this because this was working before I added the alias map. I just
> want to be clear that these two work together.

That depends.

First, Postfix needs to know what domains to receive mail for
(otherwise mail is rejected with "relay access denied").  You specify
each domain in one of the four domain lists: mydestination,
relay_domains, virtual_alias_domains, or virtual_mailbox_domains.

Then, Postfix needs to know what recipients exist in those domains
(otherwise mail is rejected with "user unknown"). Depending on the
domain list, you specify the recipient in one of the corresponding
recipient lists: local_recipient_maps, relay_recipient_maps,
virtual_alias_maps or virtual_mailbox_maps.

All the above is detailed on ADDRESS_CLASS_README.

If the recipient is does not exist in any of the four recipient
lists, then you must specify them in virtual_alias_maps.

(this is approximate; I have left out canonical mapping to avoid
overwhelming you with detail).

        Wietse

Reply via email to