Technical Tip: How to configure email server on FortiAnalyzer to receive reports over email
Description
Solution
- Configure an email server under System Settings -> Advanced -> Mail Server. Enter the details as shown below.
- Once the Mail server has been configured, go to System Settings -> Advanced -> Mail Server and 'Right-click' the server. After, select Test.
- Enter the to and from email addresses to test the configuration.
- To receive generated reports via email, configure an Output profile.
- Go to Reports -> Advanced -> Output profile -> Create new
- Select the format(s) that you want the report to be attached to.
- Enable Email Generated Reports and select the email server created in Step 1.
- Enter the from/to email address.
- Go to Reports. Select the required report and select Configuration ('Settings' in v5.4 and onward). Enable the option Enable Notification and select the Output Profile.
Troubleshooting:
If having any issues receiving email after the report is generated, the test connection command can be used to verify where it fails between FortiAnalyzer and MailServer.
diagnose test connection mailserver <server-name> <mail-from> <mail-to>
For example:
diagnose test connection mailserver email-example faz@example.com admin@example.com
The following debug commands can also be run before report generation:
diagnose debug application fazmaild 255
diagnose debug enable
Related documents:
Mail Server
Creating output profiles
Technical Tip: How to set up Email Notifications with notification.fortinet.net
Technical Tip: How to configure email output profile in FortiAnalyzer when it is managed by FortiManager
