Configuring profiles : Configuring session profiles : Configuring advanced MTA control settings : Configuring mail routing profiles in a session profile
Configuring mail routing profiles in a session profile
If you enable the advanced MTA control feature in session profiles (see “Configuring advanced MTA control settings”), the Mail Routing tab will appear.
To configure a mail routing profile to be used in a session profile
1. Go to Profile > Session > Mail Routing.
2. Click New.
3. Enter a profile name.
4. Click New to configure the mail routing settings.
5. In the popup window, specify the recipient pattern and the relay type:
Host: Relay the matched sessions to the specified SMTP server.
MX Record (this domain): Query the DNS server’s MX record of the protected domain name for the FQDN or IP address of the SMTP server. If there are multiple MX records, the FortiMail unit will load balance between them.
MX Record (alternative domain): Query the DNS server’s MX record of a domain name you specify for the FQDN or IP address of the SMTP server. If there are multiple MX records, the FortiMail unit will load balance between them. Also specify the alternate domain name.
6. Specify the SMTP port number. The default port is 25.
7. Click Create.