fail2ban-0.9.2
openSUSE 13.1
I have the following in /etc/fail2ban/jail.local:
# Destination email address used solely for the interpolations in
# jail.{conf,local,d/*} configuration files.
destemail = paka@wahoo
# Sender email address used solely for some actions
sender = fail2ban@wahoo
# E-mail action. Since 0.8.1 Fail2Ban uses sendmail MTA for the
# mailing. Change mta configuration parameter to mail if you want to
# revert to conventional 'mail'.
mta = sendmail
and see in /var/log/fail2ban (short excerpt)>
2015-06-28 23:41:27,784 fail2ban.actions [6050]: NOTICE [sshd] Ban
218.87.111.116
2015-06-28 23:41:28,003 fail2ban.actions [6050]: NOTICE [sshd] Ban
221.235.189.176
2015-06-28 23:41:28,223 fail2ban.actions [6050]: NOTICE [sshd] Ban
222.186.25.4
2015-06-28 23:41:28,444 fail2ban.actions [6050]: NOTICE [sshd] Ban
43.255.188.149
2015-06-28 23:41:28,664 fail2ban.actions [6050]: NOTICE [sshd] Ban
43.255.189.62
2015-06-28 23:41:28,888 fail2ban.actions [6050]: NOTICE [sshd] Ban
59.63.192.198
2015-06-28 23:41:29,107 fail2ban.actions [6050]: NOTICE [sshd] Ban
62.210.89.233
But do not receive mail when bans are enforced. Is there another
configuration I need to set or ... ?
On my old server which died, I had an earlier version of fail2ban which
had mailing action specified for each jail and mailing worked.
Confused,
tks
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535 @ http://linuxcounter.net
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users