I figured that was it, but then wondered surely he knows it's disabled. :-)
I thought spacing was working before, but it's not, nether does ";" and nether does a new line. So I just put the others on new lines, and commented them out. That works :-) sortof :-)


Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com

On 08/10/2018 01:38 PM, Tony Collins wrote:
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 <wa...@waynesallee.com 
<mailto:wa...@waynesallee.com>> wrote:

    Your example will never error, as you have "enable = false".

    Wayne Sallee
    wa...@waynesallee.com <mailto:wa...@waynesallee.com>
    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
    Fail2ban-users@lists.sourceforge.net 
<mailto:Fail2ban-users@lists.sourceforge.net>
    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
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

------------------------------------------------------------------------------
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
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to