Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-03-2014, 10:57 AM   #1
Registered: Dec 2009
Posts: 150

Rep: Reputation: 18
Fail2ban help

Hi All

I have fail2ban running on a Ubuntu 12.4 server with Zimbra. I have created some filters etc, to block failed login attempts and ban the user.

The issue I have here is that with the new item's I have put in jail.conf, I don't get any who is data. I just get an emails saying it's banned and the ip. The other standard items in jail.conf work fine.

I understand I need to put %(action_mwl)s but don't know where I should put this in my config below, as each time I try fail2ban fails to start


enabled = true
filter = zimbra
action = iptables-allports[name=Zimbra-account]
logpath = /opt/zimbra/log/mailbox.log
bantime = -1
maxretry = 5

Any advise here would be great, thanks

Old 11-04-2014, 10:05 AM   #2
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Version of fail2ban please?
Also, you should put all your edits in /etc/fail2ban/jail.local to preserve against loss during an update|upgrade.

stock fail2ban package has a sasl filter. look for it in /etc/fail2ban/filters.d/*


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail2ban help glennbtn Linux - Software 1 07-02-2014 09:40 AM
Fail2Ban Patrick032986 Linux - Software 7 09-18-2011 05:01 PM
I need help with fail2ban... trist007 Linux - Newbie 15 12-14-2009 04:22 AM
Fail2ban and Slack Biggen Slackware 10 06-20-2009 09:30 AM
Fail2ban and Firestarter baldur2630 Linux - Software 2 09-29-2008 06:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration