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!
Disable email for certain alerts
Re: Disable email for certain alerts
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
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
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.
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
Ok, open your CSF Configuration and search for:
SECURITY WARNING
================
LF_EMAIL_ALERT
Sergio
SECURITY WARNING
================
LF_EMAIL_ALERT
Sergio