Forum Discussion

Amandeep_Singh's avatar
Amandeep_Singh
Icon for Nimbostratus rankNimbostratus
Feb 01, 2021

How to configure SMTP settings on F5 15.x for sending out email notifications?

How can we set up the SMTP on f5 running 15.x software version?

 

I have the following config in place:

 

(tmos)# list sys outbound-smtp

sys outbound-smtp {

  from-line-override disabled

  mailhub smtp.gmail.com:587

  rewrite-domain bigip1.f5lab.com

}

 

I have also modified the user_alert.conf file and added many scripts for sending an email for pool members going down/SSL cert expiration etc. But nothing is working.

  

Thanks in advance!

  • Hello Amandeep.

     

    outbound-smtp section is still pending to support Authentication and TLS.

    https://support.f5.com/csp/article/K87630102

     

    To workaround this, you can still use the configuration file /etc/ssmtp/ssmtp.conf, but take into account that this config will be removed after every reboot.

    https://support.f5.com/csp/article/K13180

     

    Regards,

    Dario.

    • Stefan_Klotz's avatar
      Stefan_Klotz
      Icon for Cumulonimbus rankCumulonimbus

      Regarding reboot- and software update safe, is the standard tmsh configuration for outbound-smtp persistend?

      Thank you!

      Regards Stefan 🙂