Page 1 of 1

Disable email for certain alerts

Posted: 08 Jun 2020, 01:18
by ffeingol
Hello,

We'd like to disable the email alerts for certain types of alerts. For example, we don't need an email when there is a POP/IMAP/SMTP login failure, as it's easy to search the logs for there.

Thanks!

Re: Disable email for certain alerts

Posted: 08 Jun 2020, 03:03
by Sergio
Access the account with webmail, in webmail on the front page enter into "Email Filters" and create there a rule to delete the emails that you don't want to receive.

Example:

SUBJECT CONTAINS
blocked

AND

BODY MATCHES REGEX
auth failed|Failed password for root|Incorrect authentication data

ACTIONS
Discard Message

You should know REGEX Notation to create your rules if you select "Matches REGEX.

So, the above rule means:
If Subject contains the word "blocked" and the body of the emails contains any of the following matches, delete the email.

Sergio

Re: Disable email for certain alerts

Posted: 08 Jun 2020, 03:07
by ffeingol
Hello,

Thanks for the suggestion. I'd rather not send them in the first place so our mail server does not have to process them.

Re: Disable email for certain alerts

Posted: 08 Jun 2020, 03:53
by Sergio
Ok, open your CSF Configuration and search for:

SECURITY WARNING
================
LF_EMAIL_ALERT

Sergio