Skip to main content
simonl
New Member
December 4, 2019
Question

Ability to troubleshoot Fortigate smtp settings

  • December 4, 2019
  • 1 reply
  • 23783 views

Hi there,

 

Currently there is no way to troubleshoot SMTP settings. Can we add functionality to send test emails from the Fortigate, and see SMTP responses?

1 reply

Pathfinder
New Member
December 4, 2019

Hi simonl

 

You can test mail-settings in CLI with command: diagnose log alertmail test

 

Successful test looks like this:

Alert Mail Test

Message body (log level = 1):

1st Line

2nd Line

(2019-12-04 07:19:26) 

 

Best wishes Pathfinder

simonl
simonlAuthor
New Member
December 4, 2019

Hi Pathfinder,

 

Thanks for the response. That command doesn't return anything in my Fortigate 100E 6.2.1.

 

Can I assume that either the command doesn't work or the test failed?

 

Thanks,

Simon

Pathfinder
New Member
December 4, 2019

Hi simonl

 

Please google for Fortigate CLI Reference. Search for depending Reference to your FortiOS-Release.

The command i posted is correct. Probably there is something wrong in your settings.

 

Regards Marc