none
Address rewriting does not work

    Question

  • Hi all

    Single domain address rewriting on Exchange 2010 EDGE server does not work.

    Server as OS (Server 2008 R2) and Exchange is up-to-date (except the Exchange 2010 SP1).

    --------------------------------------------------------------------------

    [PS] C:\Windows\system32>get-addressrewriteentry |fl

    InternalAddress   : internal.com
    ExternalAddress   : external.com
    ExceptionList     : {}
    OutboundOnly      : True
    AdminDisplayName  :
    ExchangeVersion   : 0.1 (8.0.535.0)
    Name              : Internal to External
    DistinguishedName : CN=Internal to External,CN=Domain Entries,CN=Address Rewrite Configuration,OU=MSExchangeGateway
    Identity          : CN=Internal to External,CN=Domain Entries,CN=Address Rewrite Configuration,OU=MSExchangeGateway
    Guid              : 68cae6d8-fecc-4121-8cc0-359778ab08b1
    ObjectCategory    : CN=ms-Exch-Address-Rewrite-Entry,CN=Schema,CN=Configuration,CN={78F9B30D-EE9D-4937-A473-9A796EB87F2
                        9}
    ObjectClass       : {top, msExchAddressRewriteEntry}
    WhenChanged       : 10.9.2010 13:08:02
    WhenCreated       : 10.9.2010 13:08:02
    WhenChangedUTC    : 10.9.2010 11:08:02
    WhenCreatedUTC    : 10.9.2010 11:08:02
    OrganizationId    :
    OriginatingServer : localhost
    IsValid           : True

    --------------------------------------------------------------------------

    [PS] C:\Windows\system32>Get-AcceptedDomain

    Name                           DomainName                     DomainType                   Default
    ----                           ----------                     ----------                   -------
    internal.com                   internal.com              Authoritative                True
    external.com                   external.com                   InternalRelay                False

    --------------------------------------------------------------------------

    [PS] C:\Windows\system32>Get-TransportAgent

    Identity                                           Enabled         Priority
    --------                                           -------         --------
    Address Rewriting Outbound Agent                   True            1
    Connection Filtering Agent                         True            2
    Address Rewriting Inbound Agent                    True            3
    Edge Rule Agent                                    True            4
    Content Filter Agent                               True            5
    Sender Id Agent                                    True            6
    Sender Filter Agent                                True            7
    Recipient Filter Agent                             True            8
    Protocol Analysis Agent                            True            9
    Attachment Filtering Agent                         True            10

     

    Does anyone have some suggestions?

    Does this acctually work? Or is there some "bug" that I am not aware of (except myself :))?

    Thank you in advance
    Herbert

    Friday, September 10, 2010 1:28 PM

All replies

  • Hi,

    Maybe it could help you.

    http://technet.microsoft.com/en-us/library/bb331966.aspx

    Regards.

    Shafaquat Ali.


    M.C.I.T.P Exchange 2007/2010, M.C.I.T.P Windows Server 2008, M.C.T.S OCS Server 2007 R2, URL: http://blog.WhatDoUC.net Phone: +923008210320
    Friday, September 10, 2010 6:17 PM
  • Herbert-

    Can you give some details as to what "doesn't work" amounts to? What is the mail flow involved with the problem messages from start to finish?


    Active Directory, 4th Edition - www.briandesmond.com/ad4/
    Friday, September 10, 2010 10:18 PM
  • Hi Brian

    Well, email with address someone@internal.com should be rewrited to someone@external.com when "traveling" trough EDGE server.

    Examination of the headers of test mail reveals that mail flow goes out from CAS/HUB (I have the both roles on the same server) to EDGE and then to the destination with the sender address as someone@internal.com instead as someone@external.com.

    Thank you in advance for any help

    Herbert Knavs

     

    • Edited by Herbert Knavs Sunday, September 12, 2010 6:56 PM typo correction
    Sunday, September 12, 2010 6:50 PM
  • Thank you Shafaquat

    But I don't believe this article would solve my problem.

    I don't need to import address rewrite entries to EDGE, since I have only one very simple entry for domain rewrite.

    I also don't have multiple EDGE servers, only one.

    An I don't have SP1 on the server yet, since, unfortunatelly, I believe it is still premature for that.

    I will be really gratefull if get some other ideas to share it with me.

    Thank you in advance

    Herbert Knavs

    Sunday, September 12, 2010 6:55 PM
  • Hi Brian

    Well, email with address someone@internal.com should be rewrited to someone@external.com when "traveling" trough EDGE server.

    Examination of the headers of test mail reveals that mail flow goes out from CAS/HUB (I have the both roles on the same server) to EDGE and then to the destination with the sender address as someone@internal.com instead as someone@external.com.

    Thank you in advance for any help

    Herbert Knavs

     


    Herbert-

    So just to be clear these are originating from native Exchange clients (e.g. OWA/Outlook)? The reason I ask is there are certain scenarios where messages will be excluded from rewrite (e.g. if they're anonymously relayed off a HT receive connector).


    Active Directory, 4th Edition - www.briandesmond.com/ad4/
    Sunday, September 12, 2010 7:14 PM
  • Yes of course.

    All test mails was send from Outlook over MAPI to Exchange or from OWA.

    Regards and thanks for helping me :)

    Herbert Knavs

    Sunday, September 12, 2010 7:27 PM
  • Yes of course.

    All test mails was send from Outlook over MAPI to Exchange or from OWA.

    Regards and thanks for helping me :)

    Herbert Knavs


    Only other thing I can think of is if it's having a problem with external.com not being an "Authoritative" domain.
    Active Directory, 4th Edition - www.briandesmond.com/ad4/
    Sunday, September 12, 2010 7:30 PM
  • Well, I had the same idea since my "external.com" is "LocalDelivery"... but I have also tested with another domain which is "Authoritative" and the results are the same.

    But, having "Authoritative" domain as targed is not a prerequisite, as it is not prerequisite to have additional proxyAddress on mailboxes, and it should not affect address rewriting in a non-working sense.

    Anyway... in my case I have proxyAddresses set and rewriting to domain marked as "Authoritative" and it still doesn't work.

    I will wait for a couple of days for some other ideas to "surface" then I will call MS to take look into my problem... I will report the progress.

    Thanx

    Monday, September 13, 2010 8:48 AM
  • Herbert,

     

    Did you ever find a solution to this problem? I'm facing the same issue on my deployment. 

    Thursday, December 09, 2010 2:25 AM