Re: [Fail2ban-users] Adding pattern to postfix filter

2024-06-16 Thread Alex
> > BTW, I can't crack it for the moment. >> OK so this isn't going to be quite so neat. You need to add a line: >> >> ^RCPT from [^[]*\[\]%(_port)s:? 550 5\.5\.1 Protocol error; >> >> to the mdre-normal section. Generally the recommended way is to create a >> postfix.local file, but this would

Re: [Fail2ban-users] Adding pattern to postfix filter

2024-06-16 Thread Alex
Hi, > BTW, I can't crack it for the moment. > OK so this isn't going to be quite so neat. You need to add a line: > > ^RCPT from [^[]*\[\]%(_port)s:? 550 5\.5\.1 Protocol error; > > to the mdre-normal section. Generally the recommended way is to create a > postfix.local file, but this would ne

Re: [Fail2ban-users] Adding pattern to postfix filter

2024-06-16 Thread Nick Howitt via Fail2ban-users
On 16/06/2024 09:33, Nick Howitt via Fail2ban-users wrote: On 16/06/2024 08:23, Nick Howitt via Fail2ban-users wrote: On 01/06/2024 09:29, Nick Howitt wrote: On 01/06/2024 00:59, Alex wrote: Hi, > Ideally, I'd like to not have to modify that regexp and be able to > add my o

Re: [Fail2ban-users] Adding pattern to postfix filter

2024-06-16 Thread Nick Howitt via Fail2ban-users
On 16/06/2024 08:23, Nick Howitt via Fail2ban-users wrote: On 01/06/2024 09:29, Nick Howitt wrote: On 01/06/2024 00:59, Alex wrote: Hi, > Ideally, I'd like to not have to modify that regexp and be able to > add my own, much like what appears to be happening with mdre-errors.

Re: [Fail2ban-users] Adding pattern to postfix filter

2024-06-16 Thread Nick Howitt via Fail2ban-users
On 01/06/2024 09:29, Nick Howitt wrote: On 01/06/2024 00:59, Alex wrote: Hi, > Ideally, I'd like to not have to modify that regexp and be able to > add my own, much like what appears to be happening with mdre-errors. You don't have to. Append your own rules in a new line an