Topic: connections & fail2ban vs spam
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
CentOS, MySQL, iRedAdmin-Pro
Seeing connections similar to the below scenario from various IPs in the /var/log/maillog. I'm wondering what they indicate and/or if associated with an account breach?
May 23 00:08:21 mail02 postfix/smtpd[11381]: connect from unknown[132.245.70.197]
May 23 00:08:21 mail02 postfix/smtpd[11381]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 00:08:21 mail02 postfix/smtpd[11381]: disconnect from unknown[132.245.70.197]
May 23 01:20:36 mail02 postfix/smtpd[15731]: connect from unknown[132.245.70.197]
May 23 01:20:36 mail02 postfix/smtpd[15731]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 01:20:37 mail02 postfix/smtpd[15731]: disconnect from unknown[132.245.70.197]
May 23 02:20:43 mail02 postfix/smtpd[18888]: connect from unknown[132.245.70.197]
May 23 02:20:44 mail02 postfix/smtpd[18888]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 02:20:44 mail02 postfix/smtpd[18888]: disconnect from unknown[132.245.70.197]
May 23 03:20:48 mail02 postfix/smtpd[27549]: connect from unknown[132.245.70.197]
May 23 03:20:48 mail02 postfix/smtpd[27549]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 03:20:49 mail02 postfix/smtpd[27549]: disconnect from unknown[132.245.70.197]
May 23 04:20:56 mail02 postfix/smtpd[31188]: connect from unknown[132.245.70.197]
May 23 04:20:56 mail02 postfix/smtpd[31188]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 04:20:56 mail02 postfix/smtpd[31188]: disconnect from unknown[132.245.70.197]
May 23 05:27:32 mail02 postfix/smtpd[2829]: connect from unknown[132.245.70.197]
May 23 05:27:33 mail02 postfix/smtpd[2829]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 05:27:33 mail02 postfix/smtpd[2829]: disconnect from unknown[132.245.70.197]
May 23 06:28:24 mail02 postfix/smtpd[6565]: connect from unknown[132.245.70.197]
May 23 06:28:24 mail02 postfix/smtpd[6565]: Anonymous TLS connection established from unknown[132.245.70.197]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)
May 23 06:28:24 mail02 postfix/smtpd[6565]: disconnect from unknown[132.245.70.197]
Shouldn't fail2ban stop these?
One IP had over 8000 connections.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.