====== Exchange: Connectors / Konnektoren ======
===== Empfangskonnektoren =====
==== Anonymes Relay (Powershell) =====
=== Connector anlegen ===
New-ReceiveConnector -Name "Client-Relay" -TransportRole FrontendTransport -Custom -Bindings 0.0.0.0:25 -RemoteIpRanges 192.168.100.202
=== Berechtigungen setzen ===
Set-ReceiveConnector "Client-Relay" -PermissionGroups AnonymousUsers
Get-ReceiveConnector "Client-Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
Sprachversion beachten!
* **NT-Autorität\Anonymous-Anmeldung**
* **NT AUTHORITY\ANONYMOUS LOGON**
=== Berechtigungen prüfen ===
Get-ReceiveConnector "Client-Relay" | Format-List Enabled,TransportRole,Bindings,RemoteIPRanges
Get-ADPermission "Client-Relay" -User "NT AUTHORITY\ANONYMOUS LOGON" | where {($_.Deny -eq $false) -and ($_.IsInherited -eq $false)} | Format-Table User,ExtendedRights,Identity
==== Anonymes Relay (ECP) ====
Anonymous-Relay erlauben (beliebige Absenderkennung nach extern).
{{:exch:ex_con_anon_relay_1.png|}}
{{:exch:ex_con_anon_relay_2.png|}}
{{:exch:ex_con_anon_relay_3.png|}}
{{:exch:ex_con_anon_relay_4.png|}}
Get-ReceiveConnector "Client-Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
==== Bereiche kopieren ====
Set-ReceiveConnector "NEUER_SERVER\NAME_DES_CONNECTORS" -RemoteIPRanges (Get-ReceiveConnector "ALTER_SERVER\NAME_DES_CONNECTORS").RemoteIPRanges
===== Send Connectors =====
==== Port ändern ====
Set-SendConnector -Identity mail.example.com -Port 25