Topic: Cannot receive and send external emails
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1
- Deployed with iRedMail Easy or the downloadable installer?installer
- Linux/BSD distribution name and version: CentOS Stream 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I installed iRedMail on Alibaba Cloud and have configured the website certificate, but due to the server not allowing the use of port 25, I have been unable to send and receive external emails. I have modified the configuration countless times, but when sending emails, I still use port 25. May I ask how to modify postfix and dovecot to use SSL port 465 for email sending and receiving
Below is my log:
Oct 14 21:56:12 mail postfix/qmgr[123552]: 4XRzKS0gKdz7V66N: removed
Oct 14 21:56:14 mail postfix/postfix-script[123787]: stopping the Postfix mail system
Oct 14 21:56:14 mail postfix/master[123550]: terminating on signal 15
Oct 14 21:56:15 mail postfix/postfix-script[123872]: starting the Postfix mail system
Oct 14 21:56:15 mail postfix/master[123874]: daemon started -- version 3.5.25, configuration /etc/postfix
Oct 14 21:56:29 mail postfix/submission/smtpd[123893]: connect from mail.kklease.com[127.0.0.1]
Oct 14 21:56:29 mail postfix/submission/smtpd[123893]: discarding EHLO keywords: CHUNKING
Oct 14 21:56:29 mail postfix/submission/smtpd[123893]: Anonymous TLS connection established from mail.kklease.com[127.0.0.1]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Oct 14 21:56:29 mail postfix/submission/smtpd[123893]: discarding EHLO keywords: CHUNKING
Oct 14 21:56:29 mail postfix/submission/smtpd[123893]: 4XRzKn4kNSz7V66W: client=mail.kklease.com[127.0.0.1], sasl_method=LOGIN, sasl_username=seasonwu@kklease.com
Oct 14 21:56:29 mail postfix/cleanup[123896]: 4XRzKn4kNSz7V66W: message-id=<11f9291c059a5872d0394905f8a190a0@kklease.com>
Oct 14 21:56:29 mail postfix/qmgr[123876]: 4XRzKn4kNSz7V66W: from=<seasonwu@kklease.com>, size=544, nrcpt=1 (queue active)
Oct 14 21:56:29 mail roundcube[121751]: <q20hn0rr> User seasonwu@kklease.com [183.159.79.87]; Message <11f9291c059a5872d0394905f8a190a0@kklease.com> for wushishan@qq.com; 250: 2.0.0 Ok: queued as 4XRzKn4kNSz7V66W
Oct 14 21:56:29 mail postfix/submission/smtpd[123893]: disconnect from mail.kklease.com[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Oct 14 21:56:57 mail postfix/submission/smtpd[123893]: connect from mail.kklease.com[127.0.0.1]
Oct 14 21:56:57 mail postfix/submission/smtpd[123893]: discarding EHLO keywords: CHUNKING
Oct 14 21:56:58 mail postfix/submission/smtpd[123893]: Anonymous TLS connection established from mail.kklease.com[127.0.0.1]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Oct 14 21:56:58 mail postfix/submission/smtpd[123893]: discarding EHLO keywords: CHUNKING
Oct 14 21:56:58 mail postfix/submission/smtpd[123893]: 4XRzLL0H6yz7V66V: client=mail.kklease.com[127.0.0.1], sasl_method=LOGIN, sasl_username=seasonwu@kklease.com
Oct 14 21:56:58 mail postfix/cleanup[123896]: 4XRzLL0H6yz7V66V: message-id=<7c172e550ff27999ec72f1868945faf6@kklease.com>
Oct 14 21:56:58 mail postfix/qmgr[123876]: 4XRzLL0H6yz7V66V: from=<seasonwu@kklease.com>, size=544, nrcpt=1 (queue active)
Oct 14 21:56:58 mail roundcube[120883]: <q20hn0rr> User seasonwu@kklease.com [183.159.79.87]; Message <7c172e550ff27999ec72f1868945faf6@kklease.com> for wushishan@qq.com; 250: 2.0.0 Ok: queued as 4XRzLL0H6yz7V66V
Oct 14 21:56:58 mail postfix/submission/smtpd[123893]: disconnect from mail.kklease.com[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Oct 14 21:56:59 mail postfix/smtp[123905]: connect to mx3.qq.com[157.255.221.253]:25: Connection timed out
Oct 14 21:57:28 mail postfix/smtp[123937]: connect to mx3.qq.com[157.255.221.253]:25: Connection timed out
Oct 14 21:57:29 mail postfix/smtp[123905]: connect to mx3.qq.com[157.255.4.241]:25: Connection timed out
Oct 14 21:57:58 mail postfix/smtp[123937]: connect to mx3.qq.com[157.255.4.243]:25: Connection timed out
Oct 14 21:57:59 mail postfix/smtp[123905]: connect to mx3.qq.com[157.255.4.243]:25: Connection timed out
Oct 14 21:58:28 mail postfix/smtp[123937]: connect to mx3.qq.com[157.255.4.241]:25: Connection timed out
Oct 14 21:58:29 mail postfix/smtp[123905]: connect to mx2.qq.com[157.255.4.241]:25: Connection timed out
Oct 14 21:58:58 mail postfix/smtp[123937]: connect to mx2.qq.com[157.255.4.241]:25: Connection timed out
Oct 14 21:58:59 mail postfix/smtp[123905]: connect to mx2.qq.com[157.255.221.247]:25: Connection timed out
Oct 14 21:58:59 mail postfix/smtp[123905]: 4XRzKn4kNSz7V66W: to=<wushishan@qq.com>, relay=none, delay=150, delays=0.07/0.05/150/0, dsn=4.4.1, status=deferred (connect to mx2.qq.com[157.255.221.247]:25: Connection timed out)
Oct 14 21:59:28 mail postfix/smtp[123937]: connect to mx2.qq.com[157.255.221.247]:25: Connection timed out
Oct 14 21:59:28 mail postfix/smtp[123937]: 4XRzLL0H6yz7V66V: to=<wushishan@qq.com>, relay=none, delay=150, delays=0.05/0.03/150/0, dsn=4.4.1, status=deferred (connect to mx2.qq.com[157.255.221.247]:25: Connection timed out)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.