postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Deliver to non-local users from domain.

Re: Deliver to non-local users from domain.

From: Michael Saldivar <mike.saldivar_at_nospam>
Date: Fri Oct 08 2010 - 17:32:15 GMT

On Fri, Oct 8, 2010 at 5:06 AM, Nikolai K. Bochev

> Hello list,
> I have one domain , with several users in it. Most of them , will be
> migrated to a exchange server, which will later be the mx record for that
> domain. The exchange server will redirect emails for users not in his
> database to the postfix/cyrus server i run.
> The problem is, when someone tries to send an email from postfix/cyrus user
> to a user on the same domain that is hosted on the exchange. I know i can
> create local boxes, and setup up transport maps for each of those boxes.
> What i am wondering is - is there any way that i can tell postfix to relay
> mail for a domain he owns if no local user exists ?

We have a similar set-up. If you have an internal domain (Active Directory)
that is different than your external domain, in the virtual file on your
Postfix machine, on the left column put the user's external email address,
and on the right put what Exchange recognizes as their FQDN internal
address. For example: user@exchange.example.local

This assumes Exchange is part of the Active Directory domain example.local,
and you have an MX and A record for it on your internal DNS server.

-- Mike Saldivar Direct Financial Solutions Information Systems Manager Desk: 435-774-8252 Cell: 435-881-3778 Fax: 435-774-8244