Hot!Ability to troubleshoot Fortigate smtp settings

Author
simonl
New Member
  • Total Posts : 17
  • Scores: 0
  • Reward points: 0
  • Joined: 2019/03/11 18:36:58
  • Status: offline
2019/12/03 21:03:15 (permalink) 6.0
0

Ability to troubleshoot Fortigate smtp settings

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?
post edited by simonl - 2019/12/03 21:12:47
#1

5 Replies Related Threads

    Pathfinder
    New Member
    • Total Posts : 12
    • Scores: 2
    • Reward points: 0
    • Joined: 2016/05/30 23:11:09
    • Location: Bern - Switzerland
    • Status: offline
    Re: Ability to troubleshoot Fortigate smtp settings 2019/12/03 22:18:52 (permalink)
    0
    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
    post edited by Pathfinder - 2019/12/03 22:20:50
    #2
    simonl
    New Member
    • Total Posts : 17
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/03/11 18:36:58
    • Status: offline
    Re: Ability to troubleshoot Fortigate smtp settings 2019/12/03 22:32:55 (permalink)
    0
    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
    #3
    Pathfinder
    New Member
    • Total Posts : 12
    • Scores: 2
    • Reward points: 0
    • Joined: 2016/05/30 23:11:09
    • Location: Bern - Switzerland
    • Status: offline
    Re: Ability to troubleshoot Fortigate smtp settings 2019/12/03 23:19:49 (permalink)
    0
    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
    #4
    simonl
    New Member
    • Total Posts : 17
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/03/11 18:36:58
    • Status: offline
    Re: Ability to troubleshoot Fortigate smtp settings 2019/12/03 23:38:48 (permalink)
    0
    Hi Marc,
     
    That command doesn't exist in any CLI reference doc. I've searched for it many times.
    It only exists in 3 places - in another forum post, in a guide for setting up email alerts in Gmail, and in this forum post.
     
    I don't doubt that the command is correct, but it still doesn't test the SMTP settings of the Fortigate, it only tests email alerts.
     
    Simon
    #5
    Pathfinder
    New Member
    • Total Posts : 12
    • Scores: 2
    • Reward points: 0
    • Joined: 2016/05/30 23:11:09
    • Location: Bern - Switzerland
    • Status: offline
    Re: Ability to troubleshoot Fortigate smtp settings 2019/12/03 23:49:44 (permalink)
    0
    Hi Simon
     
    I agree, that it does test email alerts. When settings are correct, test-alertmail will be sent.
    I have no idea how to test smtp-settings. Best way is, to send testmail. When it works settings are fine. If not, change settings.
     
    Marc
    #6
    Jump to:
    © 2019 APG vNext Commercial Version 5.5