> Thanks Michael, but then won't both lines in my example log match both
> jails - so I get 2 matches for each line whereas I want only 1? 

Yes

> I
> don't want __prefix_line to match either daemon, I want it to match
> text 'relay-long' if and only if it is looking on behalf of jail
> 'relay-long' and match text 'relay-short' if and only if it is looking
> on behalf of jail 'relay-short'.

Ah. Then I don't know how to do that.

Michael





------------------------------------------------------------------------------
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