Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

How block IP in exim4

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
delfo2000
Posts: 23
Joined: Fri Apr 15, 2016 11:51 am

How block IP in exim4
  • Quote

Post by delfo2000 » Mon Jul 22, 2019 10:36 am

Dear,

I have this log:
dovecot_plain authenticator failed for ([185.180.222.147]) [112.85.62.150]: 535 Incorrect authentication data
now, I want block IP 185.180.222.147 and no Ip 112.85.62.150.

How can I do it?

Regards
Top

Wibols
Posts: 21
Joined: Tue Jun 25, 2019 7:42 pm

Os: CentOS 6x
Web: apache + nginx
Re: How block IP in exim4
  • Quote

Post by Wibols » Mon Jul 22, 2019 3:01 pm

You can do it from "VestaCP/Firewall/Fail2Ban list/+", but Fail1Ban would do automatically.

You can config Fail2Ban for RoundCube intrusions and config a long time ban in Fail2Ban for recurrent IP's too.
Top

delfo2000
Posts: 23
Joined: Fri Apr 15, 2016 11:51 am

Re: How block IP in exim4
  • Quote

Post by delfo2000 » Mon Jul 22, 2019 10:25 pm

Dear,

thank you for reply, but this solutions doesn't work. I think problem is little more complex.
Es: scammer has IP:1.2.3.4 and he uses yahoo web mail server with IP:4.3.2.1, now fail2ban can block IP 4.3.2.1 (I don't need block it ), if I block IP 1.2.3.4 no problem for scammer because he uses IP:4.3.2.1, if I block IP: 4.3.2.1 he change to IP:4.2.3.1 ecc.
I need block source IP:1.2.3.4

Reagrds


Wibols wrote: ↑
Mon Jul 22, 2019 3:01 pm
You can do it from "VestaCP/Firewall/Fail2Ban list/+", but Fail1Ban would do automatically.

You can config Fail2Ban for RoundCube intrusions and config a long time ban in Fail2Ban for recurrent IP's too.
Top

Wibols
Posts: 21
Joined: Tue Jun 25, 2019 7:42 pm

Os: CentOS 6x
Web: apache + nginx
Re: How block IP in exim4
  • Quote

Post by Wibols » Thu Jul 25, 2019 5:19 pm

You can create a new Fail2Ban filter in /etc/fail2ban/filter.d/ directory from a existing one, modify it and apply to a jail. Only one filter can be used in every jail, so could be necesary to add another.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password