Thanks Aldo, was going to pull up my configs this morning.
On 2/19/2020 7:47 AM, Aldo Necci wrote:
The right rule is:
action = %(action_mw)s
You have to modify "action = action_mw" with "action = %(action_mw)s"
and include it inside every jail you would like to notice by email.
Best regards,
Aldo Necci
On Wed, February 19, 2020 15:19, Henrique Fagundes wrote:
Dear, good morning!
Thanks for answering. Following your tip, I set it up like this:
[phpmyadmin-syslog]
port = http,https
logpath = %(syslog_authpriv)s
backend = %(syslog_backend)s
action = action_mw
enabled = true
I received this at /var/log/fail2ban.log:
2020-02-19 11:06:13,612 fail2ban.transmitter [4557]: ERROR Jail
'phpmyadmin-syslog' skipped, because of wrong configuration: Unable to
read action 'action_mw'
I did something wrong?
---- Ativado Qua, 19 fev 2020 01:17:56 -0300 Doug Preston via
Fail2ban-users <fail2ban-users@lists.sourceforge.net> escreveu ----
> in jail.local
>
> add
> action_mw
> to each jail
>
> On 2/18/2020 8:07 PM, Henrique Fagundes wrote:
> Dear friends,Once again, I would like to enlist the help
of this group!My fail2ban does not send emails in any
way. I would like blocking notifications to be sent via
email, but I can't seem to get this to work.This is my
jail.conf:https://temporario.aprendendolinux.com/fail2ban/jail.conf.txtAnd
this is my
jail.local:https://temporario.aprendendolinux.com/fail2ban/jail.local.txtWhere
can I go wrong?I made sure that the server is capable of
sending emails, with the command below:# echo 'Testing
email service!' | mutt -s 'Testing sending emails!' -
magnatahp@gmail.comAnd the email arrives correctly.Can
someone help me? I'll be very grateful.Ps: Sorry for any
typos. I'm brazilian. I'm not very good with
English!Sincerely,Henrique
Fagundes_______________________________________________Fail2ban-users
mailing
listFail2ban-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/fail2ban-users
_______________________________________________
> Fail2ban-users mailing list
> Fail2ban-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users
-----------------------------------------
This email was sent using SquirrelMail.
https://webmail.inf.uniroma3.it
Web Site: http://www.squirrelmail.org
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users