Skip to main content
xshkurti
Staff
Staff
November 26, 2024

Technical Tip: How to disable email alerts for admin login attempts

  • November 26, 2024
  • 0 replies
  • 2067 views
Description This article describes how to disable email notifications for admin login attempts when automation stitches are not configured
Scope FortiOS 6.4.x. All FortiOS 7.x versions.
Solution

In the previous versions, email alerts were sent from CLI for any admin login attempt to the device.
Since FortiOS 6.4.x (7.0,7.2,7.4,7.6) this feature is removed from GUI and is replaced with Email notification through automation stitches.

 

When the automation stitch is not configured to send email notifications for account login, the configured address will still get email notifications.

Automation stitch for the admin login and... - Fortinet Community

 

To stop getting emails for this type of activity, even though there is no automation stitch configured, some changes under the alertmail section can help to stop them from flowing.

 

Alert-Mail.png

 

Change admin-login-logs from enable to disable:

 

config alertemail setting
    set admin-login-logs disable
end

 

After this change, FortiGate will not use the old method of alerting but is ready to start using Automation Stitches when they are configured.