Thomas Broda wrote:
Hi,

I've got two Postfix hosts, mail.example.com and office.example.com.

mail.example.com is MX for several domains which are set up as virtual alias domains. Now I would like to forward certain mails, dependent on the recipient, to an internal office server, so

us...@foo.org should be delivered locally on mail.example.com,

foo.org is a local domain listed in mydestination only.

us...@foo.org should be forwarded to us...@office.example.com,

use a virtual_alias_maps entry (not virtual_alias_domains) to rewrite us...@foo.org to the correct domain.

us...@bar.org should be forwarded to us...@office.example.com,

use a virutual_alias_maps entry (not virtual_alias_domains) to rewrite us...@bar.org to the correct domain.

us...@bar.org should be delivered locally on mail.example.com etc.

bar.org is a local domain listed in mydestination only.

--
Noel Jones

Reply via email to