G DATA Mail Protection
Create connectors and a rule
This article describes how to create an outbound connector and an inbound connector and use a rule to route your email traffic through G DATA Mail Protection.
The required steps can be performed either using Exchange PowerShell commands or through the Microsoft Exchange admin center interface:
Configure Windows PowerShell to connect to Microsoft 365 (Exchange Online PowerShell)
1. |
Open PowerShell. Enter the following command to install the Exchange Online management module:
Respond to the prompts with Y. |
2. |
Start the connection using the following command:
Replace the user MaxMustermann@x-company.cloud with your own user account! Show screenshot.
|
3. |
A sign-in window opens. Enter your password here. Show screenshot
|
4. |
Continue with the section |
Create connectors and a rule using Exchange Online PowerShell
1. |
Open Exchange Online PowerShell and sign in to Office 365.
(For assistance, see the section |
||
2. |
Create a new outbound connector using the following command:
|
||
3. |
Create a rule using the following command:
Replace the domains x-company.cloud and x-company.onmicrosoft.com with your own domain names. |
||
4. |
Create a new inbound connector using the following command:
|
Create connectors and a rule through the Microsoft Exchange admin center
1. |
Open the Exchange admin center and sign in. |
||
2. |
Select Mail flow and Connectors. Click Next. Show screenshot
|
||
3. |
Click |
||
4. |
Select:
Click Next. Show screenshot
|
||
5. |
Enter the name G DATA 365 Mail Protection and, optionally, a description. Select the Turn it on checkbox. Click Next. Show screenshot
|
||
6. |
Select: Only when I have a transport rule set up that redirects messages to this connector. Click Next. Show screenshot
|
||
7. |
Select: Route email through these smart hosts and enter mailprotection.gdata.de as the smart host. Use + to add it to the smart host list. Click Next. Show screenshot
|
||
8. |
Select: Always use Transport Layer Security (TLS) to secure the connection (recommended) and Issued by a trusted certificate authority (CA). Click Next. Show screenshot
|
||
9. |
Create a list containing at least one of your email addresses for each domain (add addresses using +), then click Validate to validate the connector against these email addresses. This test should complete without errors. If problems occur, refer to our connector configuration notes, among other resources. Click Next. Show screenshot
|
||
10. |
Review the settings in the summary and click Create connector. Click Done. Show screenshot
|
||
11. |
Click |
||
12. |
Select: Click Next. Show screenshot
|
||
13. |
Enter the name G DATA Mailprotection Inbound Secure Connector and, optionally, a description. Select the Turn it on checkbox. Click Next. Show screenshot
|
||
14. |
Select By verifying that the IP address of the sending server matches one of the following IP addresses, which belong to your partner organization. Enter the IP range 194.156.84.32/28 and use + to add it to the list. Click Next. Show screenshot
|
||
15. |
Select the checkbox to reject email messages if they are not sent over TLS. Click Next. Show screenshot
|
||
16. |
Review the settings in the summary and click Create connector. Click Done. |
||
17. |
Open the Enhanced filtering page. |
||
18. |
The inbound connector you just created is listed here with Enhanced filtering disabled. Click the row for the G DATA Mailprotection Inbound Secure Connector connector. An editing panel opens on the right side of the screen. Select Skip these IP addresses that are associated with the connector:. Enter the IP range 194.156.84.32/28. Select Apply to entire organization and click Save. Show screenshot
|
||
19. |
Filtering for the connector is now displayed as On. Show screenshot
|
||
20. |
Show screenshot
|
||
21. |
Click Show screenshot
|
||
22. |
Enter Redirect to mailprotection.gdata.de as the rule name. Under Apply this rule if, select the following values from the drop-down menus: The sender and is external/internal Show screenshot
|
||
23. |
A side panel opens on the right side of the screen. Select Outside the organization and click Save. Show screenshot
|
||
24. |
Use + to add a new AND condition and select The recipient and domain is from the drop-down menus. Show screenshot
|
||
25. |
Create a list of all domains to be scanned by G DATA Mail Protection. If there are multiple domains, each domain must be entered individually and added to the list using the Add button.
Then click Save. Show screenshot
|
||
26. |
Under Do the following, select the following values from the drop-down menus:
Show screenshot
|
||
27. |
A side panel opens on the right side of the screen. Select the G DATA 365 Mail Protection connector and click Save. Show screenshot
|
||
28. |
Under Except if, select the following values from the drop-down menus:
Show screenshot
|
||
29. |
A side panel opens on the right side of the screen. Enter the following IP range: 194.156.84.32/28 and click Save. Show screenshot
|
||
30. |
Click Next. |
||
31. |
Configure the following settings for the rule: Rule mode = Enforce Severity = High Show screenshot
|
||
32. |
Click Next. |
||
33. |
Review the settings and click Finish. Show screenshot
|
||
34. |
Click the row for the rule you created in the Exchange admin center and enable the rule using the toggle in the panel that opens on the right side of the screen. Show screenshot
|

