Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sending a test alertmail
I' d like to generate a alertmail, to see whether it is working.
I created an smtp server configured an alert mail.
In the past i could test-connectivity in release 5 i can' t find a gui option and also could not figure out a cli command.
any hints?
Solved! Go to Solution.
1 Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Guys,
I had the same problem in FortiOS 5.0.7. However via CLI you can test the email server with the following command:
# diagnose log alertmail test and then check your email.
I hope it be helpful
Greetings.
Jav.

3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I searched for this feature, too, and couldn' t locate anything. I am not sure why it was removed.
Under " Send alert email for the following" under Log & Report, I selected " Administrator login/logout" so I could force a log message.
Bill ========== Fortigate 600C 5.0.12, 111C 5.0.2 Logstash 1.4.1
Bill ========== Fortigate 600C 5.0.12, 111C 5.0.2 Logstash 1.4.1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Guys,
I had the same problem in FortiOS 5.0.7. However via CLI you can test the email server with the following command:
# diagnose log alertmail test and then check your email.
I hope it be helpful
Greetings.
Jav.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can test the SMTP alert email by using the cli
#cli
" diagnose log alertmail test"
just do a packet sniffer on the interface that's expected for the mail relay.
diag sniffer packet wan1 "host yoursmtp.gateway.com"
NOTE: place address of yoursmtp.gateway.com
Ken Felix
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
