Barney Desmond wrote:
If domain.tld isn't already in
virtual_alias_domains then you need to add it, as well as the mapping
to extdomain.tld

No, domain.tld must not be added to virtual_alias_domains if postfix already accepts mail for that domain. A domain must not be listed in more than one address class.

All email is processed by virtual_alias_maps. The domain need not be a virtual_alias_domain.

You mentioned you "don't want it to go through your post office". If
your mail routing is setup sanely, no mail would ever be relayed
through your post office. If this does happen, you can add a transport
map entry to have it delivered directly (either by IP if it's static,
or by MX lookup if you don't control it).

Eg.

virtual_alias_maps file: (virtual_alias_domains uses the same by default)

domain.tld    OK

Do NOT add the above line.

re...@domain.tld    re...@extdomain.tld

Yes, this is a correct entry for virtual_alias_maps.


Reply via email to