<JAIL> refers to whats between the brackets in your jail.local:
[postfix]
#enabled                = false
enabled         = true
filter          = postfix
action          = my_ipset_ipport[port=smtp, bantime=86400]
                   my_ipset_ipport2[port=smtps, bantime=86400]
                   my_ipset_ipport3[port=submission, bantime=86400]
logpath         = /var/log/maillog
maxretry        = 3
bantime         = 60
findtime        = 172800

The above jail is 'postfix'.


[0:root@elmo fail2ban]$ fail2ban-client get postfix logpath
Current monitored log file(s):
`- /var/log/maillog

Bill


On 10/16/2015 5:20 AM, Noel da Costa wrote:
>
> Hi,
>
> The docs : http://www.fail2ban.org/wiki/index.php/Commands#JAIL_INFORMATION : 
> show the use of <JAIL> but they don’t seem to
> indicate what format the jail name should take.
>
> *For example:*
> [root@server]# locate jail
> /etc/fail2ban/jail.conf
> /etc/fail2ban/jail.d
> /etc/fail2ban/jail.local
>
> *I tried all of the following:*
> fail2ban-client reload jail
> fail2ban-client reload jail.conf
> fail2ban-client reload jail.local
> fail2ban-client reload /etc/fail2ban/jail.local
> fail2ban-client reload sshd
>
> None of which worked.
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Fail2ban-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to