1 (edited by arturoksv 2026-01-28 11:23:49)

Topic: cant send or receive mails on my iredmail server

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  latest iredmail version
- Deployed with iRedMail Easy or the downloadable installer? yes
- Linux/BSD distribution name and version: ubuntu 24.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? No, i use basic iredadmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hello i feel really bad because i do everything i know to fix this problem but i cant send or receive mails in my iredmail server.

i already check mx records on my domain's provider (godaddy), the site its online, if i want to access to my server from any computer i can access, but when i try to send or receive mails i cant, the problem start the last thursday, before that date everything works fine, i already upgrade my email server to latest iredmail version and update my pc to ubuntu 24.04.

i put the ssl cert in the right place and looks like everything its ok, but I CANT SEND OR RECEIVE EMAILS. one more thing i know, looks like mi ip it is in blacklist on some website, and the port 25 its blocking on  my ISP.

anyone know how i can fix this??

this is the result of this command tail -n 50 /var/log/mail.log


2026-01-27T21:08:31.247383-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.9.22]:25: Connection timed out
2026-01-27T21:09:01.253022-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.73.29]:25: Connection timed out
2026-01-27T21:09:31.283094-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.68.13]:25: Connection timed out
2026-01-27T21:10:01.299495-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.73.20]:25: Connection timed out
2026-01-27T21:10:01.314389-06:00 mail postfix/smtp[347857]: 4f0NJN3TQJz17HF1: to=<larinstech@hotmail.com>, relay=none, delay=103797, delays=103677/0.05/120/0, dsn=4.4.1, status=deferred (connect to hotmail-com.olc.protection.outlook.com[52.101.73.20]:25: Connection timed out)
2026-01-27T21:13:01.416855-06:00 mail postfix/qmgr[2922]: 4f0Qqs4MJ0z17HFK: from=<arturo.larin@ccsanalejo.com>, size=1830, nrcpt=1 (queue active)
2026-01-27T21:13:31.686478-06:00 mail postfix/smtp[350542]: connect to ccjocoro.com[201.247.175.51]:25: Connection timed out
2026-01-27T21:13:31.709519-06:00 mail postfix/smtp[350542]: 4f0Qqs4MJ0z17HFK: to=<arturo.stech@ccjocoro.com>, relay=none, delay=97170, delays=97140/0.07/30/0, dsn=4.4.1, status=deferred (connect to ccjocoro.com[201.247.175.51]:25: Connection timed out)
2026-01-27T21:18:23.533182-06:00 mail postfix/submission/smtpd[353268]: connect from unknown[154.219.216.219]
2026-01-27T21:18:23.720216-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:18:24.393026-06:00 mail postfix/submission/smtpd[353268]: Anonymous TLS connection established from unknown[154.219.216.219]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-01-27T21:18:24.544479-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:18:27.134595-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[154.219.216.219]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com
2026-01-27T21:18:27.317022-06:00 mail postfix/submission/smtpd[353268]: lost connection after AUTH from unknown[154.219.216.219]
2026-01-27T21:18:27.317245-06:00 mail postfix/submission/smtpd[353268]: disconnect from unknown[154.219.216.219] ehlo=2 starttls=1 auth=0/1 commands=3/4
2026-01-27T21:19:29.928168-06:00 mail postfix/submission/smtpd[353268]: connect from unknown[185.211.169.225]
2026-01-27T21:19:30.109793-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:19:30.750214-06:00 mail postfix/submission/smtpd[353268]: Anonymous TLS connection established from unknown[185.211.169.225]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-01-27T21:19:30.895128-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:19:33.448391-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[185.211.169.225]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com
2026-01-27T21:19:33.624995-06:00 mail postfix/submission/smtpd[353268]: lost connection after AUTH from unknown[185.211.169.225]
2026-01-27T21:19:33.625073-06:00 mail postfix/submission/smtpd[353268]: disconnect from unknown[185.211.169.225] ehlo=2 starttls=1 auth=0/1 commands=3/4
2026-01-27T21:19:59.890863-06:00 mail postfix/submission/smtpd[353268]: connect from unknown[185.211.169.225]
2026-01-27T21:20:00.060184-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:20:00.717124-06:00 mail postfix/submission/smtpd[353268]: Anonymous TLS connection established from unknown[185.211.169.225]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-01-27T21:20:00.859176-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:20:03.390706-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[185.211.169.225]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com
2026-01-27T21:20:03.561437-06:00 mail postfix/submission/smtpd[353268]: lost connection after AUTH from unknown[185.211.169.225]
2026-01-27T21:20:03.561660-06:00 mail postfix/submission/smtpd[353268]: disconnect from unknown[185.211.169.225] ehlo=2 starttls=1 auth=0/1 commands=3/4
2026-01-27T21:20:04.941994-06:00 mail postfix/submission/smtpd[353268]: connect from unknown[156.243.224.108]
2026-01-27T21:20:05.483753-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:20:06.999680-06:00 mail postfix/submission/smtpd[353268]: Anonymous TLS connection established from unknown[156.243.224.108]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-01-27T21:20:07.252556-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:20:10.316406-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[156.243.224.108]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com
2026-01-27T21:20:10.812879-06:00 mail postfix/submission/smtpd[353268]: lost connection after AUTH from unknown[156.243.224.108]
2026-01-27T21:20:10.813065-06:00 mail postfix/submission/smtpd[353268]: disconnect from unknown[156.243.224.108] ehlo=2 starttls=1 auth=0/1 commands=3/4
2026-01-27T21:20:30.454726-06:00 mail postfix/submission/smtpd[353268]: connect from unknown[154.194.67.50]
2026-01-27T21:20:30.701766-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:20:31.374564-06:00 mail postfix/submission/smtpd[353268]: Anonymous TLS connection established from unknown[154.194.67.50]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-01-27T21:20:31.475130-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:20:34.049872-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[154.194.67.50]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com
2026-01-27T21:20:34.218395-06:00 mail postfix/submission/smtpd[353268]: lost connection after AUTH from unknown[154.194.67.50]
2026-01-27T21:20:34.218592-06:00 mail postfix/submission/smtpd[353268]: disconnect from unknown[154.194.67.50] ehlo=2 starttls=1 auth=0/1 commands=3/4
2026-01-27T21:21:03.925809-06:00 mail postfix/submission/smtpd[353268]: connect from unknown[130.49.29.44]
2026-01-27T21:21:04.124121-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:21:04.826859-06:00 mail postfix/submission/smtpd[353268]: Anonymous TLS connection established from unknown[130.49.29.44]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256
2026-01-27T21:21:04.990978-06:00 mail postfix/submission/smtpd[353268]: discarding EHLO keywords: CHUNKING
2026-01-27T21:21:07.095346-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[130.49.29.44]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com
2026-01-27T21:21:07.296835-06:00 mail postfix/submission/smtpd[353268]: lost connection after AUTH from unknown[130.49.29.44]
2026-01-27T21:21:07.297030-06:00 mail postfix/submission/smtpd[353268]: disconnect from unknown[130.49.29.44] ehlo=2 starttls=1 auth=0/1 commands=3/4

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: cant send or receive mails on my iredmail server

1.

2026-01-27T21:18:27.134595-06:00 mail postfix/submission/smtpd[353268]: warning: unknown[154.219.216.219]: [b]SASL LOGIN[/b] authentication failed: (reason unavailable), sasl_username=gestorrecinterna02@ccsanalejo.com

This very much looks like a brute force attack, i don't know any client that uses SASL LOGIN normally, since mostly it is beeing done via SASL PLAIN

Aswell, the timing looks it was sheduled

2.
Afaik, GoDaddy blocks Port 25 on their VPS, so you need to request to unblock it to be able sending mails

DNS Resolver works fine, but every outbound connection attept to port 25 fails:

2026-01-27T21:08:31.247383-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.9.22]:25: Connection timed out
2026-01-27T21:09:01.253022-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.73.29]:25: Connection timed out
2026-01-27T21:09:31.283094-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.68.13]:25: Connection timed out
2026-01-27T21:10:01.299495-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.73.20]:25: Connection timed out

3

Re: cant send or receive mails on my iredmail server

After further digging in, i noticed:

Your SSL cert has common names
-> ccjocoro.com www.ccjocoro.com

BUT

Connecting to 201.247.175.51
220-mail.ccjocoro.com ESMTP Postfix

Your mailserver responds with mail.ccjocoro.com which is not covered in your cert, aswell the cert chain is incomplete

aswell, your PTR is invalid, 201.247.175.51 resolves to ccjocoro.com, but it should match the mailserver signature, which is mail.ccjocoro.com in your case

4

Re: cant send or receive mails on my iredmail server

arturoksv wrote:

2026-01-27T21:08:31.247383-06:00 mail postfix/smtp[347857]: connect to hotmail-com.olc.protection.outlook.com[52.101.9.22]:25: Connection timed out

Seems all outbound email traffic didn't work, maybe your ISP blocks port 25, please contact them to get some support.