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 [^[]*\[<HOST>\]%(_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 need to contain:
>

This got mangled by gmail, but I was able to copy the postfix.conf to
postfix.local and make it somewhat resemble what you pasted, and it appears
to work.

It's what I had also done originally, but had the formal wrong - I thought
it more replaced the postfix.conf rather than supplement it.

    mdre-normal=^RCPT from [^[]*\[<HOST>\]%(_port)s: 55[04] 5\.7\.1\s
>                  ^RCPT from [^[]*\[<HOST>\]%(_port)s: 45[04] 4\.7\.\d+
>

I still don't understand the difference between mdre-* and mdpr-* :-(

Also, how does it match 'postscreen' when the prefix doesn't contain that
phrase?
     _daemon = postfix(-\w+)?/\w+(?:/smtp[ds])?
     prefregex = ^%(__prefix_line)s<mdpr-<mode>> <F-CONTENT>.+</F-CONTENT>$

Thanks,
Alex
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to