Marc Jauvin:
> I've been using Postfix for 9 years, and I really like it. There is
> still one thing I can't seem to be able to do:
>
> I' using the following config options:
>
> virtual_mailbox_domains = proxy:mysql:virtual_mailbox_domains.sql
> virtual_mailbox_maps = proxy:mysql:virtual_mailbox_maps.sql
> virtual_alias_maps = proxy:mysql:virtual_alias_maps.sql
>
> But if the MX records of a domain listed in my database are modified
> to point to external email servers, then email sent from my server TO
> accounts @ this domain will still be delivered internally. It seems
> postfix will not give precedence to the MX records defined for the
> domain, but will privilege the internal transport / mapping rules.
>
> Is there anyone out there that could give me a solution to fix this problem?
MX records do not have to point at final destinations. Lots
of final-destination hosts sit behind gateways, where the
MX points at the gateway, not at the final host.
Wietse