On 9 apr 2011, at 18:54, Nasser Heidari wrote: > We have an Exchange for our local Emails and Exchange uses Postfix as > Smarthost. > Address Rewriting is Working properly for Emails from Exchange to > Outside network, but For Emails from Exchange to Postfix Virtually > hosted Domains or Postfix Local Mailbox's the rules doesn't Affect !
If Exchange is not sending using the correct address, I would suggest solving this within Exchange. Add additional SMTP addresses to accounts within your Active Directory, and pick the right one as the primary address, which will then be used by Exchange for all outgoing mail. No rewriting logic required. If that doesn't solve your issue, be more specific. See the previous responses by Noel and Victor. Cya, Jona