Hi,
I've installed Edge Role of Exchange 2013 sp1 in Windows server 2012 R2 standard.
I want to use Edge server only to rewriting header.
I want to rewrite sender address from test@mydomain.local to support@mydomain.local.
Receive connector settings:
PS C:\Windows\system32> Get-ReceiveConnector cpacentrale1 |fl
AuthMechanism : None
Banner :
BinaryMimeEnabled : True
Bindings : {0.0.0.0:25}
ChunkingEnabled : True
DefaultDomain :
DeliveryStatusNotificationEnabled : True
EightBitMimeEnabled : True
BareLinefeedRejectionEnabled : False
DomainSecureEnabled : False
EnhancedStatusCodesEnabled : True
LongAddressesEnabled : False
OrarEnabled : False
SuppressXAnonymousTls : False
ProxyEnabled : False
AdvertiseClientSettings : False
Fqdn : AppSrv2.mydomain.local
ServiceDiscoveryFqdn :
TlsCertificateName :
Comment :
Enabled : True
ConnectionTimeout : 00:05:00
ConnectionInactivityTimeout : 00:01:00
MessageRateLimit : 600
MessageRateSource : IPAddress
MaxInboundConnection : 5000
MaxInboundConnectionPerSource : 20
MaxInboundConnectionPercentagePerSource : 2
MaxHeaderSize : 128 KB (131,072 bytes)
MaxHopCount : 60
MaxLocalHopCount : 12
MaxLogonFailures : 3
MaxMessageSize : 35 MB (36,700,160 bytes)
MaxProtocolErrors : 5
MaxRecipientsPerMessage : 200
PermissionGroups : AnonymousUsers, Custom
PipeliningEnabled : True
ProtocolLoggingLevel : None
RemoteIPRanges : {10.3.54.2}
RequireEHLODomain : False
RequireTLS : False
EnableAuthGSSAPI : False
ExtendedProtectionPolicy : None
LiveCredentialEnabled : False
TlsDomainCapabilities : {}
Server : AppSrv2
TransportRole : HubTransport
SizeEnabled : Enabled
TarpitInterval : 00:00:05
MaxAcknowledgementDelay : 00:00:30
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : CpaCentrale1
DistinguishedName : CN=CpaCentrale1,CN=SMTP Receive Connectors,CN=Protocols,CN=AppSrv2,CN=Servers,CN=Exchange
Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First
Organization,CN=Microsoft
Exchange,CN=Services,CN=Configuration,CN={457EE1D7-B7DB-4232-B725-11273EDECBE4}
Identity : AppSrv2\CpaCentrale1
Guid : a3694ca5-179f-4846-aeac-34a13e7cbfb5
ObjectCategory : CN=ms-Exch-Smtp-Receive-Connector,CN=Schema,CN=Configuration,CN={457EE1D7-B7DB-4232-B725-11
273EDECBE4}
ObjectClass : {top, msExchSmtpReceiveConnector}
WhenChanged : 17/06/2016 10:17:34
WhenCreated : 15/06/2016 16:32:57
WhenChangedUTC : 17/06/2016 08:17:34
WhenCreatedUTC : 15/06/2016 14:32:57
OrganizationId :
OriginatingServer : localhost
IsValid : True
ObjectState : Unchanged
Receive connector permissions:
PS C:\Windows\system32> Get-ReceiveConnector cpacentrale1 |Get-ADPermission |select user,extendedrights
User ExtendedRights
---- --------------
NT AUTHORITY\ANONYMOUS LOGON {ms-Exch-SMTP-Accept-Any-Sender}
NT AUTHORITY\ANONYMOUS LOGON {ms-Exch-SMTP-Accept-Any-Recipient}
NT AUTHORITY\ANONYMOUS LOGON {ms-Exch-Accept-Headers-Routing}
NT AUTHORITY\ANONYMOUS LOGON {ms-Exch-SMTP-Submit}
NT AUTHORITY\ANONYMOUS LOGON {ms-Exch-SMTP-Accept-Authoritative-Domain-Sender}
NT AUTHORITY\SYSTEM
NT AUTHORITY\NETWORK SERVICE
BUILTIN\Administrators
S-1-527723813-3342083303-519
SendConnector settings (I forward to a simple intranet Microsoft smtp ):
PS C:\Windows\system32> Get-SendConnector|fl
AddressSpaces : {smtp:*;1}
AuthenticationCredential :
CloudServicesMailEnabled : False
Comment :
ConnectedDomains : {}
ConnectionInactivityTimeOut : 00:10:00
DNSRoutingEnabled : False
DomainSecureEnabled : False
Enabled : True
ErrorPolicies : Default
ForceHELO : False
Fqdn :
FrontendProxyEnabled : False
HomeMTA :
HomeMtaServerId :
Identity : To SmtpCpaCentrale
IgnoreSTARTTLS : False
IsScopedConnector : False
IsSmtpConnector : True
MaxMessageSize : 35 MB (36,700,160 bytes)
Name : To SmtpCpaCentrale
Port : 25
ProtocolLoggingLevel : None
RequireOorg : False
RequireTLS : False
SmartHostAuthMechanism : None
SmartHosts : {smtpcpacentrale.mydomain.local}
SmartHostsString : smtpcpacentrale.mydomain.local
SmtpMaxMessagesPerConnection : 20
SourceIPAddress : 0.0.0.0
SourceRoutingGroup : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers : {}
TlsAuthLevel :
TlsCertificateName :
TlsDomain :
UseExternalDNSServersEnabled : False
Permission on send connector
PS C:\Windows\system32> Get-sendConnector "to smtpcpacentrale" |Get-ADPermission |select user,extendedrightsUser
User ExtendedRights
---- --------------
NT AUTHORITY\ANONYMOUS LOGON {ms-Exch-Send-Headers-Routing}
MS Exchange\Partner Servers {ms-Exch-Send-Headers-Routing}
MS Exchange\Hub Transport Servers {ms-Exch-Send-Headers-Forest}
MS Exchange\Hub Transport Servers {ms-Exch-Send-Headers-Organization}
MS Exchange\Hub Transport Servers {ms-Exch-SMTP-Send-XShadow}
MS Exchange\Hub Transport Servers {ms-Exch-SMTP-Send-Exch50}
MS Exchange\Hub Transport Servers {ms-Exch-Send-Headers-Routing}
MS Exchange\Edge Transport Servers {ms-Exch-Send-Headers-Forest}
MS Exchange\Edge Transport Servers {ms-Exch-Send-Headers-Routing}
MS Exchange\Edge Transport Servers {ms-Exch-SMTP-Send-XShadow}
MS Exchange\Edge Transport Servers {ms-Exch-Send-Headers-Organization}
MS Exchange\Edge Transport Servers {ms-Exch-SMTP-Send-Exch50}
MS Exchange\Externally Secured Servers {ms-Exch-Send-Headers-Routing}
MS Exchange\Externally Secured Servers {ms-Exch-SMTP-Send-Exch50}
MS Exchange\Legacy Exchange Servers {ms-Exch-SMTP-Send-Exch50}
MS Exchange\Legacy Exchange Servers {ms-Exch-Send-Headers-Routing}
BUILTIN\Administrators
S-1-527723813-3342083303-519
NT AUTHORITY\SYSTEM
NT AUTHORITY\NETWORK SERVICE
Address Rewriting Outbound Agent enabled (through Get-Transport cmdlet).
Address rewriting setting:
PS C:\Windows\system32> Get-AddressRewriteEntry test |fl
InternalAddress : test@mydomain.local
ExternalAddress : support@mydomain.local
ExceptionList : {}
OutboundOnly : True
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : test
DistinguishedName : CN=test,CN=Email Entries,CN=Address Rewrite Configuration,OU=MSExchangeGateway
Identity : CN=test,CN=Email Entries,CN=Address Rewrite Configuration,OU=MSExchangeGateway
Guid : 7163cb43-3886-479d-9d35-06d198f6d7cd
ObjectCategory : CN=ms-Exch-Address-Rewrite-Entry,CN=Schema,CN=Configuration,CN={457EE1D7-B7DB-4232-B725-11273EDECBE4}
ObjectClass : {top, msExchAddressRewriteEntry}
WhenChanged : 20/06/2016 17:10:16
WhenCreated : 20/06/2016 15:33:35
WhenChangedUTC : 20/06/2016 15:10:16
WhenCreatedUTC : 20/06/2016 13:33:35
OrganizationId :
OriginatingServer : localhost
IsValid : True
ObjectState : Unchanged
When I send an email from telnet or another smtp sender mail flows from edge server to microsoft smpt but no header rewriting occurs.
In c:\inetpub\mailroot\drop of Microsoft SMTP server I see the .eml with the header "From:" unchanged.
Any Ideas?