ProxySG & Advanced Secure Gateway

 View Only

 "SMTP: No gateway configured -- could not send e-mail notification" message

Yoshinori Kobayashi's profile image
Yoshinori Kobayashi posted Jan 26, 2024 03:31 AM

I found the following message in the log.

But, I did not set SMTP server and no notice by E-Mail.

I would like to know why this message output.

"SMTP: No gateway configured -- could not send e-mail notification"  0
A0000:96  main_sgos.cpp:265

Tyler's profile image
Broadcom Employee Tyler

It looks like the event-log email notifications are on, but there is no server configured for the smtp settings. In this case, the log is just informational and can be ignored. 

You can review the settings:

#show smtp
#show event-log notifications

To disable the email event logs:

#(config event-log notifications)default mail disable

For example: 


  
ProxySG#(config event-log notifications)view
Default Notification Settings:
  Mail:
    Enabled state:    auto
    Event level:      informational
  SNMP:
    Enabled state:    disabled
    Event level:      severe
  Syslog:
    Enabled state:    disabled
    Event level:      informational
Overridden Notification Settings:
ProxySG#(config event-log notifications)default mail disable
  ok
  
ProxySG#(config event-log notifications)view

Default Notification Settings:
  Mail:
    Enabled state:    disabled
    Event level:      informational
  SNMP:
    Enabled state:    disabled
    Event level:      severe
  Syslog:
    Enabled state:    disabled
    Event level:      informational
Overridden Notification Settings: