Disable notification for a specific mail box or better solution?
Posted: 07 Jun 2020, 22:59
Hey guys!
I'm hosting a domain for a friend who used to use other hosting provider.
One of his employee is not longer working for him, but this person still have in her smartphone (Actually not her anymore, since she sold it to someone else, but didn't factory reset the smartphone) her old old mail account "connected". But this mail box no longer exist, so lfd treats this as a imapd attack.
This mean that everyday I receive tons of mails alerting from imapd attack, since her smartphone get new ip every now and then from the isp.
My question is: Is it possible to disable specific mail accounts to not count as imapd attack? So I could disable notification for this type of situation. Or perhaps there's a better solution for this type of case, is there?
The messages I receive is pretty much like this:
Mail title: lfd on ns1.myserver.tld: blocked distributed imapd attack on account [usermailbox@domain.tld]
Mail title: lfd on ns1.myserver.tld: blocked user-ip (XX/Country/user-ip.reverse-dns.isp.tld)
I'm hosting a domain for a friend who used to use other hosting provider.
One of his employee is not longer working for him, but this person still have in her smartphone (Actually not her anymore, since she sold it to someone else, but didn't factory reset the smartphone) her old old mail account "connected". But this mail box no longer exist, so lfd treats this as a imapd attack.
This mean that everyday I receive tons of mails alerting from imapd attack, since her smartphone get new ip every now and then from the isp.
My question is: Is it possible to disable specific mail accounts to not count as imapd attack? So I could disable notification for this type of situation. Or perhaps there's a better solution for this type of case, is there?
The messages I receive is pretty much like this:
Mail title: lfd on ns1.myserver.tld: blocked distributed imapd attack on account [usermailbox@domain.tld]
And the other mail alert I get is this:Time: Sun Jun 7 18:18:38 2020 -0300
IP: distributed imapd attack on account [usermailbox@domain.tld]
Failures: 5
Interval: 3600 seconds
Blocked: Temporary Block for 3600 seconds [LF_DISTATTACK]
Log entries:
Jun 7 18:18:36 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 5 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS, session=<RKo9CYWn5q29KEyi>
Jun 7 18:18:14 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 7 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS: Disconnected, session=<mYrZB4WnLFS9KEyi>
Jun 7 18:00:15 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 17 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=189.40.76.66, lip=my-server-ip, TLS: Disconnected, session=<XbTyxoSnAv69KExC>
Jun 7 18:00:15 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 9 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=189.40.76.66, lip=my-server-ip, TLS: Disconnected, session=<vEBqx4SnA/69KExC>
Jun 7 18:00:22 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 5 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=189.40.76.66, lip=my-server-ip, TLS, session=<MaMLyISnBf69KExC>
IP Addresses Blocked:
user-ip (XX/Country/user-ip.reverse-dns.isp.tld)
user-ip2 (XX/Country/user-ip2.reverse-dns.isp.tld)
Mail title: lfd on ns1.myserver.tld: blocked user-ip (XX/Country/user-ip.reverse-dns.isp.tld)
Thanks!Time: Sun Jun 7 12:16:27 2020 -0300
IP: user-ip (XX/Country/user-ip.reverse-dns.isp.tld)
Failures: 5 (imapd)
Interval: 3600 seconds
Blocked: Temporary Block for 3600 seconds [LF_IMAPD]
Log entries:
Jun 7 12:01:19 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 7 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS: Disconnected, session=<1dvdw3+n7fC9KE2F>
Jun 7 12:01:34 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS, session=<MPXxxH+n4fC9KE2F>
Jun 7 12:04:17 ns1 dovecot: imap-login: Disconnected: Inactivity (auth failed, 1 attempts in 178 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS, session=<UVFHxH+n6PC9KE2F>
Jun 7 12:16:07 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 7 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS: Disconnected, session=<z1zU+H+n6vC9KE2F>
Jun 7 12:16:25 ns1 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 5 secs): user=<usermailbox@domain.tld>, method=PLAIN, rip=user-ip, lip=my-server-ip, TLS, session=<i7L++X+n5/C9KE2F>