Firewall is blocking my IP, blocking emails receiving

Post Reply
sppa
Posts: 14
Joined: Mon Jun 29, 2020 12:08 pm

Hello everytime i refresh my emails i got an ip firewall ban, how can i fix that?
sppa
Posts: 14
Joined: Mon Jun 29, 2020 12:08 pm

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?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

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
sppa
Posts: 14
Joined: Mon Jun 29, 2020 12:08 pm

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 ?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

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.
sppa
Posts: 14
Joined: Mon Jun 29, 2020 12:08 pm

Yes its my ip, so i will have to check my devices! thanks in advance and keep up the good work!
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

You can whitelist your ip - viewtopic.php?f=26&t=631
sppa
Posts: 14
Joined: Mon Jun 29, 2020 12:08 pm

Thank you very much!
Post Reply