Ban IP or Host

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Ban IP or Host

Maurizio Caloro-2

Hello Together
Please i have a lot of this messages, exist here any possibilities to ban this ip or host, so this will try every view min.

 

Oct 16 12:33:59 mail postfix/smtpd[23436]: warning: hostname walkerj235.com does not resolve to address 91.200.12.56

Oct 16 12:34:03 mail postfix/smtpd[23436]: warning: unknown[91.200.12.56]: SASL LOGIN authentication failed: ZuFzc3waA31Zb

Oct 16 12:38:06 mail postfix/smtpd[20167]: warning: hostname walkerj235.com does not resolve to address 91.200.12.56

Oct 16 12:38:08 mail postfix/smtpd[20167]: warning: unknown[91.200.12.56]: SASL LOGIN authentication failed: ZuFzc3waA31Zb

Oct 16 12:42:16 mail postfix/smtpd[27854]: warning: hostname walkerj235.com does not resolve to address 91.200.12.56

Oct 16 12:42:20 mail postfix/smtpd[27854]: warning: unknown[91.200.12.56]: SASL LOGIN authentication failed: ZuFzc3waA31Zb

Oct 16 12:44:12 mail postfix/smtpd[11374]: warning: unknown[80.82.77.153]: SASL LOGIN authentication failed: ZuFzc3waA31Zb

Oct 16 12:46:28 mail postfix/smtpd[30250]: warning: hostname walkerj235.com does not resolve to address 91.200.12.56

Oct 16 12:46:31 mail postfix/smtpd[30250]: warning: unknown[91.200.12.56]: SASL LOGIN authentication failed: ZuFzc3waA31Zb

Oct 16 12:47:46 mail postfix/smtpd[30250]: warning: unknown[191.96.249.214]: SASL LOGIN authentication failed: ZuFzc3waA31Zb

Oct 16 12:50:46 mail postfix/smtpd[1148]: warning: hostname walkerj235.com does not resolve to address 91.200.12.56

 

Thanks for any help

Reards

Mauri

Reply | Threaded
Open this post in threaded view
|

Re: Ban IP or Host

Wietse Venema
Allen Coates:
[ Charset windows-1252 converted... ]
> To limit repeating offenders, you might like to try playing with
>
> smtpd_client_connection_count_limit,
> smtpd_client_connection_rate_limit, and
> anvil_rate_time_unit

You can add smtpd_client_auth_rate_limit to that (Postfix 3.1 and later).
http://www.postfix.org/postconf.5.html#smtpd_client_auth_rate_limit

        Wietse
Reply | Threaded
Open this post in threaded view
|

AW: Ban IP or Host

Maurizio Caloro-2
In reply to this post by Maurizio Caloro-2
Hello Mauricio

        >      Have you tried fail2ban?

Yes, i have installed and configured, this are realy a helping and usefully tool!
Thanks for your fast answer!
Maurizio