Edge 전송 서버에서 재작성 절차 해결

단일 수신자, 특정 도메인 또는 하위 도메인 또는 여러 하위 도메인에 적용되는 Edge 전송 서버에 주소 다시 쓰기 항목을 만들 수 있습니다. 주소 다시 쓰기는 아웃바운드 전용일 수도 있고 인바운드 및 아웃바운드(양방향)일 수도 있습니다. 주소 다시 쓰기 항목을 만들 때는 다음 사항에 유의하세요.

  • 생성되는 전자 메일 주소가 조직에서 고유한지 확인합니다.

  • 전자 메일 주소 값에는 리터럴 문자열만 지원됩니다.

  • 와일드카드 문자(*)는 내부 주소, 즉 변경하려는 주소에만 지원됩니다. 와일드카드 문자 사용에 유효한 구문은 *.contoso.com입니다. *contoso.com 또는 sales.*.com과 같은 값은 사용할 수 없습니다.

  • 와일드카드 문자를 사용하는 경우 주소 다시 쓰기를 아웃바운드로만 구성해야 합니다( OutboundOnly 매개 변수를 값 $true으로 설정해야 합니다). 아웃바운드만 주소 다시 쓰기를 사용하려면 영향을 받는 받는 사람에게 다시 작성된 전자 메일 주소를 프록시 주소로 구성해야 합니다.

  • 기본적으로 주소 다시 쓰기는 단일 받는 사람 또는 특정 도메인 또는 하위 도메인에 대한 양방향입니다( OutboundOnly 매개 변수의 기본값은 $false).

주소 다시 쓰기에 대한 자세한 내용은 Edge 전송 서버에서 주소 다시 쓰기를 참조하세요.

시작하기 전에 알아야 할 사항은 무엇인가요?

  • 각 절차의 예상 완료 시간: 10분

  • 이러한 절차를 수행하려면 먼저 사용 권한을 할당받아야 합니다. 필요한 권한을 보려면 메일 흐름 권한 항목의 "Edge 전송 서버" 섹션을 참조하세요.

  • 이 절차는 PowerShell을 사용해야 수행할 수 있습니다. 온-프레미스 Exchange 조직에서 Exchange 관리 셸을 여는 방법을 확인하려면 Exchange 관리 셸 열기를 참조하세요.

  • 주소 다시 쓰기를 구성할 때는 다음 사항에 주의하세요. 모든 변경 내용은 명령을 실행하면 즉시 적용됩니다. WhatIf 매개 변수를 사용하여 명령을 실행하는 것이 좋습니다. WhatIf 매개 변수에 대한 자세한 내용은 WhatIf 및 Confirm를 참조하세요.

  • 이 항목의 절차에 적용할 수 있는 바로 가기 키에 대한 자세한 내용은 Exchange 관리 센터의 바로 가기 키을 참조하세요.

문제가 있습니까? Exchange Server, Exchange Online 또는 Exchange Online Protection. 무슨 작업을 하고 싶으십니까?

Exchange 관리 셸을 사용하여 주소 다시 쓰기를 사용하거나 사용하지 않도록 설정

주소 다시 쓰기를 완전히 사용하거나 사용하지 않도록 설정하려면 주소 다시 쓰기 에이전트를 사용하거나 사용하지 않도록 설정합니다. 기본적으로 Edge 전송 서버의 주소 다시 쓰기 에이전트는 사용하도록 설정됩니다.

주소 다시 쓰기를 사용하지 않도록 설정하려면 다음 명령을 실행합니다.

Disable-TransportAgent "Address Rewriting Inbound Agent"; Disable-TransportAgent "Address Rewriting Outbound Agent"

주소 다시 쓰기를 사용하도록 설정하려면 다음 명령을 실행합니다.

Enable-TransportAgent "Address Rewriting Inbound Agent"; Enable-TransportAgent "Address Rewriting Outbound Agent"

작동 여부는 어떻게 확인하나요?

주소 다시 쓰기를 성공적으로 사용하거나 사용하지 않도록 설정했는지 확인하려면 다음 명령을 실행하여 Enabled 속성 값을 확인합니다.

Get-TransportAgent "Address Rewriting *"

Exchange 관리 셸을 사용하여 주소 다시 쓰기 항목 보기

모든 주소 다시 쓰기 항목의 요약 목록을 보려면 다음 명령을 실행합니다.

Get-AddressRewriteEntry

주소 다시 쓰기 항목의 세부 정보를 보려면 다음 구문을 사용합니다.

Get-AddressRewriteEntry <AddressRewriteEntryIdentity> | Format-List

다음 예에서는 주소 다시 쓰기 항목 Rewrite Contoso.com to Northwindtraders.com의 세부 정보가 표시됩니다.

Get-AddressRewriteEntry "Rewrite Contoso.com to Northwindtraders.com" | Format-List

자세한 내용은 Get-AddressRewriteEntry를 참조하세요.

Exchange 관리 셸을 사용하여 주소 다시 쓰기 항목 만들기

단일 받는 사람의 전자 메일 주소 다시 쓰기

단일 받는 사람의 전자 메일 주소를 다시 쓰려면 다음 구문을 사용합니다.

New-AddressRewriteEntry -Name "<Descriptive Name>" -InternalAddress <internal email address> -ExternalAddress <external email address> [-OutboundOnly <$true | $false>]

다음은 Exchange 조직에서 으로 들어오고 나가는 모든 메시지의 전자 메일 주소를 다시 작성하는 예제입니다 joe@contoso.com. 아웃바운드 메시지는 에서 support@nortwindtraders.com온 것처럼 보이도록 다시 작성됩니다. 보낸 support@northwindtraders.com 인바운드 메시지는 받는 사람에게 배달하기 joe@contoso.com 위해 에 다시 작성됩니다( OutboundOnly 매개 변수는 기본적으로 입니다 $false ).

New-AddressRewriteEntry -Name "joe@contoso.com to support@northwindtraders.com" -InternalAddress joe@contoso.com -ExternalAddress support@northwindtraders.com

단일 도메인 또는 하위 도메인에서 전자 메일 주소 다시 쓰기

단일 도메인 또는 하위 도메인에서 이메일 주소를 다시 작성하려면 다음 구문을 사용합니다.

New-AddressRewriteEntry -Name "<Descriptive Name>" -InternalAddress <domain or subdomain> -ExternalAddress <domain> [-OutboundOnly <$true | $false>]

이 예제에서는 exchange 조직에서 contoso.com 도메인에 대해 들어오고 나가는 모든 메시지의 이메일 주소를 다시 작성합니다. 아웃바운드 메시지는 fabrikam.com 도메인에서 보내는 것으로 표시되도록 다시 쓰고, fabrikam.com 전자 메일 주소로 보내는 인바운드 메시지는 해당 도메인의 받는 사람에게 배달되도록 contoso.com으로 다시 씁니다. fabrikam.com 전자 메일 주소로 전송된 인바운드 메시지는 받는 사람에게 배달하기 위해 contoso.com 다시 작성됩니다( OutboundOnly 매개 변수는 $false 기본적으로).

New-AddressRewriteEntry -Name "Contoso to Fabrikam" -InternalAddress contoso.com -ExternalAddress fabrikam.com

이 예제에서는 sales.contoso.com 하위 도메인에 대해 Exchange 조직을 떠나는 모든 메시지의 이메일 주소를 다시 작성합니다. 아웃바운드 메시지는 contoso.com 도메인에서 온 것처럼 보이도록 다시 작성됩니다. contoso.com 전자 메일 주소로 전송된 인바운드 메시지는 다시 작성되지 않습니다.

New-AddressRewriteEntry -Name "sales.contoso.com to contoso.com" -InternalAddress sales.contoso.com -ExternalAddress contoso.com -OutboundOnly $true

여러 하위 도메인에서 전자 메일 주소 다시 쓰기

도메인 및 모든 하위 도메인에서 전자 메일 주소를 다시 작성하려면 다음 구문을 사용합니다.

New-AddressRewriteEntry -Name "<Descriptive Name>" -InternalAddress *.<domain> -ExternalAddress <domain> -OutboundOnly $true [-ExceptionList <domain1,domain2...>]

이 예제에서는 contoso.com 도메인 및 모든 하위 도메인에 대해 Exchange 조직을 떠나는 모든 메시지의 이메일 주소를 다시 작성합니다. 아웃바운드 메시지는 contoso.com 도메인에서 온 것처럼 보이도록 다시 작성됩니다. 와일드카드가 InternalAddress 매개 변수에 사용되므로 contoso.com 받는 사람에게 전송된 인바운드 메시지를 다시 작성할 수 없습니다.

New-AddressRewriteEntry -Name "Rewrite all contoso.com subdomains" -InternalAddress *.contoso.com -ExternalAddress contoso.com -OutboundOnly $true

이 예제는 legal.contoso.com 및 corp.contoso.com 하위 도메인에서 보낸 메시지를 다시 작성하지 않는 경우를 제외하고 이전 예제와 같습니다.

New-AddressRewriteEntry -Name "Rewrite all contoso.com subdomains except legal.contoso.com and corp.contoso.com" -InternalAddress *.contoso.com -ExternalAddress contoso.com -OutboundOnly $true -ExceptionList legal.contoso.com,corp.contoso.com

자세한 내용은 New-AddressRewriteEntry를 참조하세요.

작동 여부는 어떻게 확인하나요?

주소 다시 쓰기 항목이 만들어졌는지 확인하려면 다음을 수행합니다.

  1. <AddressRewriteEntryIdentity>를 주소 다시 쓰기 항목의 이름으로 바꾸고 다음 명령을 실행하여 속성 값을 확인합니다.

    Get-AddressRewriteEntry <AddressRewriteEntryIdentity> | Format-List
    
  2. 주소 다시 쓰기 항목의 영향을 받는 사서함에서 테스트 메시지를 외부 사서함으로 보냅니다. 테스트 메시지가 다시 쓴 전자 메일 주소에서 보낸 것으로 표시되는지 확인합니다.

  3. 외부 사서함에서 테스트 메시지에 회신을 보냅니다. 원래 사서함에 회신이 수신되었는지 확인합니다.

Exchange 관리 셸을 사용하여 주소 다시 쓰기 항목 수정

기존 주소 다시 쓰기 항목을 수정할 때 사용 가능한 구성 옵션은 새 주소 다시 쓰기 항목을 만들 때의 구성 옵션과 동일합니다.

단일 받는 사람에 대한 주소 다시 쓰기 항목 수정

단일 받는 사람의 전자 메일 주소를 다시 쓰는 주소 다시 쓰기 항목을 수정하려면 다음 구문을 사용합니다.

Set-AddressRewriteEntry <AddressRewriteEntryIdentity> [-Name "<Descriptive Name>"] [-InternalAddress <internal email address>] [-ExternalAddress <external email address>] [-OutboundOnly <$true | $false>]

이 예제에서는 주소 재작성 항목의 다음 속성을 "joe@contoso.comsupport@nortwindtraders.com로 수정합니다.

  • 외부 주소를 support@northwindtraders.net로 변경합니다.

  • 주소 다시 쓰기 항목의 이름을 "로joe@contoso.comsupport@northwindtraders.net변경합니다.

  • OutboundOnly$true값을 로 변경합니다. 이 변경 내용을 사용하려면 Joe의 사서함에서 프록시 주소로 구성 support@northwindtraders.net 해야 합니다.

Set-AddressRewriteEntry "joe@contoso.com to support@nortwindtraders.com" -Name "joe@contoso.com to support@northwindtraders.net" -ExternalAddress support@northwindtraders.net -OutboundOnly $true

단일 도메인 또는 하위 도메인에 대한 주소 다시 쓰기 항목 수정

단일 도메인 또는 하위 도메인에서 전자 메일 주소를 다시 작성하는 주소 다시 쓰기 항목을 수정하려면 다음 구문을 사용합니다.

Set-AddressRewriteEntry <AddressRewriteEntryIdentity> [-Name "<Descriptive Name>"] [-InternalAddress <domain or subdomain>] [-ExternalAddress <domain>] [-OutboundOnly <$true | $false>]

다음은 주소 재작성 항목의 내부 주소 값을 "Northwind Traders에서 Contoso로"로 변경하는 예제입니다.

Set-AddressRewriteEntry "Northwindtraders to Contoso" -InternalAddress northwindtraders.net

여러 하위 도메인에 대한 주소 다시 쓰기 항목 수정

도메인 및 모든 하위 도메인에서 전자 메일 주소를 다시 작성하는 주소 다시 쓰기 항목을 수정하려면 다음 구문을 사용합니다.

Set-AddressRewriteEntry <AddressRewriteEntryIdentity> [-Name "<Descriptive Name>"] [-InternalAddress *.<domain>] [-ExternalAddress <domain>] [-ExceptionList <list of domains>]

주소 다시 쓰기 항목의 기존 예외 목록 값을 바꾸려면 다음 구문을 사용합니다.

Set-AddressRewriteEntry <AddressRewriteEntryIdentity> -ExceptionList <domain1,domain2,...>

다음은 Contoso에서 Northwind Traders로의 주소 다시 쓰기 항목에 대한 기존 예외 목록을 marketing.contoso.com 및 legal.contoso.com 값으로 바꾸는 예제입니다.

Set-AddressRewriteEntry "Contoso to Northwind Traders" -ExceptionList sales.contoso.com,legal.contoso.com

다른 예외 목록 항목에 영향을 주지 않고 예외 목록 값을 추가하거나 제거하려면 다음 구문을 사용합니다.

Set-AddressRewriteEntry <AddressRewriteEntryIdentity> -ExceptionList @{Add="<domain1>","<domain2>"...; Remove="<domain3>","<domain4>"...}

이 예제에서는 finanace.contoso.com 추가하고 Contoso라는 주소 다시 쓰기 항목의 예외 목록에서 Northwind Traders에 marketing.contoso.com 제거합니다.

Set-AddressRewriteEntry "Contoso to Northwind Traders" -ExceptionList @{Add="finanace.contoso.com"; Remove="marketing.contoso.com"}

자세한 내용은 Set-AddressRewriteEntry를 참조하세요.

작동 여부는 어떻게 확인하나요?

주소 다시 쓰기 항목이 수정되었는지 확인하려면 다음을 수행합니다.

  1. <AddressRewriteEntryIdentity>를 주소 다시 쓰기 항목의 이름으로 바꾸고 다음 명령을 실행하여 속성 값을 확인합니다.

    Get-AddressRewriteEntry <AddressRewriteEntryIdentity> | Format-List
    
  2. 주소 다시 쓰기 항목의 영향을 받는 사서함에서 테스트 메시지를 외부 사서함으로 보냅니다. 테스트 메시지가 다시 쓴 전자 메일 주소에서 보낸 것으로 표시되는지 확인합니다.

  3. 외부 사서함에서 테스트 메시지에 회신을 보냅니다. 원래 사서함에 회신이 수신되었는지 확인합니다.

Exchange 관리 셸을 사용하여 주소 다시 쓰기 항목 제거

단일 주소 다시 쓰기 항목을 제거하려면 다음 구문을 사용합니다.

Remove-AddressRewriteEntry <AddressRewriteEntryIdentity>

이 예제에서는 "Northwindtraders.com Contoso.com"라는 주소 다시 쓰기 항목을 제거합니다.

Remove-AddressRewriteEntry "Contoso.com to Northwindtraders.com"

여러 주소 다시 쓰기 항목을 제거하려면 다음 구문을 사용합니다.

Get-AddressRewriteEntry [<search criteria>] | Remove-AddressRewriteEntry [-WhatIf]

이 예제에서는 모든 주소 다시 쓰기 항목을 제거합니다.

Get-AddressRewriteEntry | Remove-AddressRewriteEntry

이 예제에서는 이름에 "to contoso.com" 텍스트가 포함된 주소 다시 쓰기 항목의 제거를 시뮬레이션합니다. WhatIf 스위치를 사용하면 변경 내용을 커밋하지 않고 결과를 미리 볼 수 있습니다.

Get-AddressRewriteEntry "*to contoso.com" | Remove-AddressRewriteEntry -WhatIf

결과에 만족하는 경우 WhatIf 스위치 없이 명령을 다시 실행하여 주소 다시 쓰기 항목을 제거합니다.

Get-AddressRewriteEntry "*to contoso.com" | Remove-AddressRewriteEntry

자세한 내용은 Remove-AddressRewriteEntry를 참조하세요.

작동 여부는 어떻게 확인하나요?

주소 다시 쓰기 항목이 제거되었는지 확인하려면 다음을 수행합니다.

  1. 명령을 Get-AddressRewriteEntry실행하고 제거한 주소 다시 쓰기 항목이 나열되지 않았는지 확인합니다.

  2. 주소 다시 쓰기 항목의 영향을 받은 사서함에서 테스트 메시지를 외부 사서함으로 보냅니다. 테스트 메시지가 제거된 주소 다시 쓰기 항목의 영향을 더 이상 받지 않는지 확인합니다.

  3. 외부 사서함에서 테스트 메시지에 회신을 보냅니다. 원래 사서함이 회신을 받으며 메시지가 제거된 주소 다시 쓰기 항목의 영향을 받지 않는지 확인합니다.