FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
ovoda
Staff
Staff
Article Id 384727
Description

This article describes how to set the source and destination for IP policy to match the SMTP session correctly.

Scope FortiMail v6.4.x, v7.2.x, v7.4.x, v7.6.x.
Solution

It is important to understand how the SMTP sessions work.

The SMTP session is Client - Server connection, so the source and destination have to be set in this sense.

Generally, the destination should be the FortiMail Interface IP address (if standalone). If in an HA (the Virual-IP) and if using IP-POOL (the IP range needs to be set accordingly), but it should not be recipient mail server address.

Consider this network diagram:

 

network diagram.png

 

  1. Outbound email:
  • The client is a Mail server, and the server is FortiMail.
  • The IP Policy for outbound emails has the Mail server IP address as the source and the FortiMail interface IP address as the destination.

 

outboundsession.png

 

  1. Inbound email:

  • The client is 'anybody' from the Internet, and the server is FortiMail.
  • The IP policy for inbound emails has 0.0.0.0/0 as the source and the FortiMail IP address as the destination.

 

incominfsession.png