On our fortigate the email notifications are not working:
1. We are able to ping notifcation.fortinet.net
2. Debug of an email notifcation gives following result:
resolve notification.fortinet.net to 1 IP==> send mailcan not start session
3. Email service settings are default.
You may consider to collect debugs traces below once the issue is triggered:
diag debug resetdiag debug enablediag debug console timestamp enablediag debug application alertmail -1
diagnose log alertmail test
diagnose sniffer packet any 'host <IP address of the server>' 6 0 a
I also tested now with our internal mail server. the commands provided following output.
Seems to provide the following out put:
2023-02-08 13:58:39 mail_info:from:"internal mail server" user:(null)2023-02-08 13:58:39 _init_mail_info: no user2023-02-08 13:58:39 mail_info:reverse path:(null)user name:(null)2023-02-08 13:58:39 to:2023-02-08 13:58:39 to:2023-02-08 13:58:39 to:2023-02-08 13:58:39 <==_init_mail_info2023-02-08 13:58:39 create session2023-02-08 13:58:39 resolve "IP internal mail server" to 1 IP2023-02-08 13:58:39 ==> send mail2023-02-08 13:58:39 can not start session
0 packets received by filter0 packets dropped by kernel
User is not defined and DNS entry is not resolved. I would recommend to open a TAC ticket, since it will be helpful to review the configuration.
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 2023 Fortinet, Inc. All Rights Reserved.