I wasn't giving it to you as an example of a jail - the reason I included
it was to answer your question "can I add more than one log file to a
jail". That is the relevant stuff there, you can ignore everything else :-)

I do not use that particular jail anymore, which is why I set it to
"enabled = false". It was a good quick example of how to use more than one
log file in a jail.

On Fri, 10 Aug 2018 at 18:35, Wayne Sallee <[email protected]> wrote:

> Your example will never error, as you have "enable = false".
>
> Wayne Sallee
> [email protected]
> http://www.WayneSallee.com
>
> On 08/10/2018 11:59 AM, Tony Collins wrote:
>
> [plesk]
> enabled = false
> action = %(ipset-action)s[name=%(__name__)s, bantime="%(bantime)s",
> port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
> %(mta)s-whois-lines-logsonly[name=%(__name__)s, sender="%(sender)s",
> dest="%(destemail)s",
> logpath=/var/log/php_errors.log;/var/log/old-logs/php_errors/php_errors.log.1;/var/log/plesk/httpsd_access_log;/var/log/plesk/httpsd_access_log.processed;/var/log/plesk/httpsd_access_log.processed.1,
> chain="%(chain)s"]
> logpath = /var/log/php_errors.log
> /var/log/old-logs/php_errors/php_errors.log.1
> /var/log/plesk/httpsd_access_log
> /var/log/plesk/httpsd_access_log.processed
> /var/log/plesk/httpsd_access_log.processed.1
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fail2ban-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>
-- 
-- Tony Collins
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to