Page 1 of 1

Firewall is blocking my IP, blocking emails receiving

Posted: Thu Apr 22, 2021 12:45 am
by sppa
Hello everytime i refresh my emails i got an ip firewall ban, how can i fix that?

Re: Email sync cause ip ban

Posted: Sat Apr 24, 2021 2:20 pm
by sppa
Hello thanks for the quick response, i use microsoft outlook on my pc/macbook/smartphone. I have 13 mails in the macbook outlook client. Maybe the 13 accounts sync at the same time is the problem?

Re: Email sync cause ip ban

Posted: Sat Apr 24, 2021 3:46 pm
by myVesta
Probably some of them is sending wrong password, and fail2ban service block your IP.
You can see what email account is it with:

Code: Select all

sudo grep 'IPV4-OF-YOUR-COMPUTER' /var/log/dovecot.log | grep 'Password'
Find your IPv4 on https://www.whatismyip.com/

Or you can turn off fail2ban service:

Code: Select all

sudo systemctl stop fail2ban
Also see full topic that describes the way to check if IP is blocked - viewtopic.php?f=26&t=630

Re: Firewall is blocking my IP, blocking emails receiving

Posted: Sat Apr 24, 2021 4:11 pm
by sppa
I have over 30 log records saying this --> Apr 24 17:06:09 auth: Info: passwd-file(info@mydomain address.gr ,xxx.xxx.x55.120,<randompassword>): Password mismatch
I just reset the password for the email and i am still getting this, i am starting to think its a security issue ?

Re: Firewall is blocking my IP, blocking emails receiving

Posted: Sat Apr 24, 2021 4:20 pm
by myVesta
If it is your IP, you probably have some mobile phone, tablet, or computer, configured to access the email, but with wrong password (old password probably).

If you see IP that is not yours, well, that's normal, bots that do brute-force guessing passwords are everywhere... there are maybe million bots... scanning all servers... that's why we use fail2ban, to ban them.

Re: Firewall is blocking my IP, blocking emails receiving

Posted: Sat Apr 24, 2021 5:28 pm
by sppa
Yes its my ip, so i will have to check my devices! thanks in advance and keep up the good work!

Re: Firewall is blocking my IP, blocking emails receiving

Posted: Sat Apr 24, 2021 6:40 pm
by myVesta
You can whitelist your ip - viewtopic.php?f=26&t=631

Re: Firewall is blocking my IP, blocking emails receiving

Posted: Sun Apr 25, 2021 11:57 am
by sppa
Thank you very much!