# Sendeweg - Relay Filter # Generiert aus: sendeweg-relay-filter.txt # Quelle: SecuMail MS365-Integration FAQ # # WICHTIG: Vor Ausfuehrung in Produktivumgebung # bitte in einer Testumgebung validieren. # # Voraussetzung: Connect-ExchangeOnline #========================================================== # KONFIGURATION #========================================================== # --- Schritt 1: Outbound Connector anlegen --- New-OutboundConnector ` -Name "SecuMail Filter Outbound" ` -ConnectorType Partner ` -SmartHosts "relay.secumail.de" ` -TlsSettings EncryptionOnly ` -UseMXRecord $false ` -RouteAllMessagesViaOnPremises $false ` -IsTransportRuleScoped $true ` -Enabled $true # --- Schritt 2: Transport Rule für ausgehende Mails --- New-TransportRule ` -Name "Route ausgehend über SecuMail Filter" ` -FromScope InOrganization ` -SentToScope NotInOrganization ` -RouteMessageOutboundConnector "SecuMail Filter Outbound" ` -Enabled $true # --- Schritt 3: TLS für den Sendeweg --- Set-OutboundConnector ` -Identity "SecuMail Filter Outbound" ` -TlsSettings DomainValidation ` -TlsDomain "*.secumail.de" # --- Schritt 4: DNS - SPF-Record prüfen --- nslookup -type=TXT ihredomain.de #========================================================== # PRUEFUNG #========================================================== # --- Schritt 1: Outbound Connector anlegen --- Get-OutboundConnector -Identity "SecuMail Filter Outbound" | Format-List Name, ConnectorType, SmartHosts, TlsSettings, UseMXRecord, IsTransportRuleScoped, Enabled # --- Schritt 2: Transport Rule für ausgehende Mails --- Get-TransportRule -Identity "Route ausgehend über SecuMail Filter" | Format-List Name, State, FromScope, SentToScope, RouteMessageOutboundConnector # --- Schritt 3: TLS für den Sendeweg --- Get-OutboundConnector -Identity "SecuMail Filter Outbound" | Format-List Name, TlsSettings, TlsDomain