Skip to main content
hibym3
New Member
April 27, 2020
Question

SMTP Problem via automation stitches

  • April 27, 2020
  • 1 reply
  • 4129 views

Hey, I have a problem with sending mails via automation stitches. 

 

As example:

I want to have a mail alert, if a admin logins into the admin gui. 

I have two options to configure that:

[ol]
  • under Log & Report -> Email Alert Settings (which works fine) and
  • under Security Fabric -> Automation (which doesnt work)[/ol]

    Because I maybe want to do more with the automation stitches, I want to send mails via automation stitches. 

    If I use the built in smtp server from fortinet, I can send mails via my automation stitch. (but for known reasons, I dont want to use the smtp server from fortinet.)

    In the event log I get the following error: Failed to send alert email from my.smtp-relay.com to my@mail.com

    But I see nothing in the log from smtp server. 

     

    my setup: 

    fortigate 300e

    fortiOS 6.2.3

     

    It seems like a bug, because I know, that my smtp settings are working. 

    Do you have any ideas, what could be the problem or where I get more information?

     

  • 1 reply

    RinoBroer
    Explorer III
    May 3, 2022

    You may have to specify the "from address" via the CLI

     

    config system automation-action

    edit "Default Email"

    set email-from "mail@domain.com"

    ahmadswa
    Explorer
    June 13, 2022

    this resolved my issue,

    many thanks