|
From: Henrique F. <su...@ap...> - 2020-02-19 14:19:21
|
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 <fai...@li...> 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!' - mag...@gm... 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 lis...@li...://lists.sourceforge.net/lists/listinfo/fail2ban-users _______________________________________________ > Fail2ban-users mailing list > Fai...@li... > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > |