Created on 04-23-2022 05:35 AM Edited on 12-12-2024 10:05 PM By Jean-Philippe_P
Description | This article describes how to troubleshoot queries related to alertmail in FortiGate. |
Scope | FortiOS. |
Solution |
In this scenario, alertemail is already configured but nothing is received.
In case it is not configured, it is possible to follow this document and configure automation stitch as per requirement:
The flow of alertmail.
Initially, alertmail will be triggered, firewall will try to send email to the destination mail server as per the configuration made under System -> Settings.
Once the changes have been made, it is still not possible to send an email: Try to take a sniffer with that specific port:
diag sniffer packet any 'port 587 or port 25' 4 0 a
Observe the traffic flow, if it is going only outside and there are no IN packets, it means it is necessary to check at the next hop level.
diagnose debug enable diagnose debug console timestamp enable diagnose debug application alertmail -1
The final step, is there are some mail servers when the mail is coming from 'no reply' they will filter the emails.
It is possible to configure email from the field using this article under (automation system action): Technical Tip: How to change the 'FROM' email address field when an automatic stitch is triggered |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.