1

Topic: lost connection errors

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Debian Buster 4.19.294
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? yes
====

I am trying to set up emai sending from sandstorm and rocket.chat. I am unable to send email using smtp with submission port 587 from these services (other senders are working..)

Sep  5 16:36:40 mail postfix/submission/smtpd[29493]: connect from 137-119-67-156.sisqtel.net[137.119.67.156]
Sep  5 16:36:40 mail postfix/submission/smtpd[29493]: lost connection after CONNECT from 137-119-67-156.sisqtel.net[137.119.67.156]
Sep  5 16:36:40 mail postfix/submission/smtpd[29493]: disconnect from 137-119-67-156.sisqtel.net[137.119.67.156] commands=0/0
Sep  5 16:40:45 mail postfix/submission/smtpd[29435]: SSL_accept error from 137-119-67-156.sisqtel.net[137.119.67.156]: Connection timed out
Sep  5 16:40:45 mail postfix/submission/smtpd[29435]: lost connection after STARTTLS from 137-119-67-156.sisqtel.net[137.119.67.156]
Sep  5 16:40:45 mail postfix/submission/smtpd[29435]: disconnect from 137-119-67-156.sisqtel.net[137.119.67.156] ehlo=1 starttls=0/1 commands=1/2

Thank you for any help!

----

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

2

Re: lost connection errors

Make sure they're configured to perform smtp authentication with STARTTLS secure connection.
FYI: https://docs.iredmail.org/#mua

3

Re: lost connection errors

Hello Huangbin!

It seems to fail regardless of encryption type. It only affects 3rd party websites and services but not mail clients or webmail. It is strange...

Is there a way to reset main.cf to default?

4

Re: lost connection errors

- Port 587 is TLS (or STARTTLS) secure connection.
- Port 465 is SSL.