On 17 February 2014 22:27:31 GMT+00:00, Joey J <jacklistmail@gmail.com> wrote:
Hello all,

I have installed the latest fail2ban and setup a blocklist.de account.
In my below configuration, blocklist isn't getting emailed.

My config:
-----------------------------------------------------------------
[ssh-blocklist]

enabled  = true
filter   = sshd
action   = iptables[name=SSH, port=ssh, protocol=tcp]
           sendmail-whois[name=SSH, dest=My@emailaddress.net, sender=System@emailaddress.net, sendername="Fail2Ban"]
           blocklist_de[email="fail2ban@blocklist.de", apikey="MYAPIKEY", service=%(filter)s]
logpath  = /var/log/secure
maxretry = 4
-----------------------------------------------------------------


I also tried adding to my existing SSH configuration the below line within actions:
           blocklist_de[email="fail2ban@blocklist.de", apikey="MYAPIKEY", service=%(filter)s]


Under no circumstances does blocklist get emailed.


--
Thanks!
Joey



Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk



Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Joey,

The email option must be the email address that associated with your server as per registered with the blocklist.de website.
--
Steven Hiscocks