On Fri, Oct 8, 2010 at 5:06 AM, Nikolai K. Bochev <n.boc...@grandstarco.com>wrote:
> 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 ? > http://www.postfix.org/VIRTUAL_README.html#virtual_alias 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: u...@example.com u...@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