Created on
06-03-2022
02:30 AM
Edited on
03-14-2025
09:12 AM
By
Stephen_G
Description | This article describes how to configure FortiManager and Fortianalyzer to use the GMAIL SMTP service. |
Scope | How to configure Gmail service on FortiManager Fortianalyzer and Gmail to accept the connection. |
Solution |
config system mail set port 587
Following the configuration in the FortiGate, it is needed to configure the Gmail account to allow connections from less secure applications, in this case, the FortiManager and FortiAnalyzer.
An App Password is a 16-digit passcode that gives a less secure app or device permission to access the Google Account. App Passwords can only be used with accounts that have 2-Step Verification turned on.
exe tac report diag test connection mailserver gmail <source SMTP address> <destination SMTP address>
Flow capture for FortiManager / FortiAnalyzer 7.6 or above:
diagnose test application fazmaild ? <Integer> Debug level (08). diagnose debug application fazmaild 8 diagnose debug timestamp enable diagnose debug enable
diagnose debug disable <- To stop it. diagnose debug reset
Related articles: Technical Tip: How to configure email alerts for config and policy status changes on FortiManager Technical Tip: How to set up Email Notifications with notification.fortinet.net |