Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
masabgoraya
New Contributor II

Email alert not working

Hi, I am using Fortigate 80F. I have configured Automation for email alert whenever any network interface is down. But it is not working. It is not sending an email. But it is triggering the stitch, trigger and action count. If I change the action from "Send Email" to "Reboot Fortigate", It works and reboot the firewall.  So, any idea how to correct it? 

Masab Goraya
Masab Goraya
6 REPLIES 6
ebilcari
Staff
Staff

Have you configured an email service under System> Settings or just the default one?

Here is an article on how to configure and troubleshoot the email service: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-configure-alert-email-settings/ta-p...

Than you can test this email on the Automation part

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
masabgoraya

Ok. I am using the default one. In FortiOS v7.0+, there is no alert email section at Log & reports. 

Here's the default settings which I am using. and after this I am configuring the automation part.

masabgoraya_0-1668505657351.png

 

 

Masab Goraya
Masab Goraya
masabgoraya

Could you please tell me what I am doing wrong? Should I use custom mail settings and use outlook smtp server as I am sending the alert to outlook email? 

Till now I have done following steps.

Security Fabric -> Automation -> Enable Network Down (Stitch)

I have not found Enable email alert option in FortiOS v7.0.8, FortiGate 80F.

Masab Goraya
Masab Goraya
ebilcari

Yes, the deployment I have saw usually use an external SMTP server.  You can configure the SMTP server as described on the article I've shared above and check the configuration with the debug commands
Take a look at the configuration guide too: https://docs.fortinet.com/document/fortigate/7.2.3/administration-guide/526019/email-alerts

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
masabgoraya

No, it's still not working. 

Masab Goraya
Masab Goraya
ebilcari

Do you have a local Exchange server or you are referring to the free email server of outlook.com? 
If you are using the free service there you need to find online how it's configured. Basically they go with this settings:

  • SMTP Server: smtp.office365.com
  • Port: 587 
  • Encryption: STARTTLS
  • Username: Your full Outlook email address
  • Password: Your Outlook password — the same one you use to log in to the Outlook website

https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4a...

 

Than you need the root CA that Microsoft is using for this service and upload it to FortiGate. You can extract it from the website:

https://smtp.office365.com/

 

After making the changes can you run this debug commands:

# diag debug enable
# diag debug console timestamp enable
# diag debug application alertmail -1

Send a test activation mail, collect the ouput and upload them here: 

# diagnose log alertmail test

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
Labels
Top Kudoed Authors