Configuring outbound settings in FortiMail
Now that inbound settings are configured in both Office 365 and FortiMail, you must next configure outbound settings in FortiMail.
-
In FortiMail, go to Dashboard > Console to open the CLI console.
-
Enter the following commands, for each Office 365 server IP address, to add Office 365 as a trusted relay to FortiMail:
config policy access-control receive
edit 1
set sender-ip-mask 23.103.132.0/22
set action relay
next
edit 2
set sender-ip-mask 23.103.144.0/22
set action relay
next
edit 3
set sender-ip-mask 23.103.191.0/24
set action relay
next
edit 4
etc...