1

Topic: lost connection while receiving the initial server greeting

==== Required information ====
- iRedMail version (check /etc/iredmail-release):      v0.9.5-1
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue: yes
====

Suddenly all outboud emails to any external domain failing with message

status=deferred (lost connection with host[ip] while receiving the initial server greeting)

It is happening with all external domains.
However it was working find 2-3 days ago and NO any update/changes has been made into server.

Can anyone help...

Here is log from mail.log (actual email Ids has been replaced with imaginary)

Jan 20 11:49:03 mail amavis[19109]: (19109-10) Checking: fRs0N52_oKyr ORIGINATING/MYNETS [17.25.12.121] <sender@internaldomain.org> -> <recv@externaldomain.com>
Jan 20 11:49:04 mail amavis[19109]: (19109-10) fRs0N52_oKyr FWD from <sender@internaldomain.org> -> <recv@externaldomain.com>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 35A0F826CC
Jan 20 11:49:04 mail amavis[19109]: (19109-10) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [172.25.12.121]:47822 <sender@internaldomain.org> -> <recv@externaldomain.com>, Queue-ID: 87070826CB, Message-ID: <83666bda-4624-bef5-6ec4-d89db074d019@mahendras.org>, mail_id: fRs0N52_oKyr, Hits: -1.807, size: 18167, queued_as: 35A0F826CC, 654 ms
Jan 20 11:49:04 mail postfix/smtp[21276]: 87070826CB: to=<recv@externaldomain.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.1, delays=0.44/0.01/0/0.67, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 35A0F826CC)
Jan 20 11:50:19 mail postfix/smtp[21088]: 35A0F826CC: to=<recv@externaldomain.com>, relay=us2.mx2.mailhostbox.com[208.91.199.226]:25, delay=75, delays=0.02/0/75/0, dsn=4.4.2, status=deferred (lost connection with us2.mx2.mailhostbox.com[208.91.199.226] while receiving the initial server greeting)
Jan 20 11:58:47 mail postfix/smtp[22993]: 35A0F826CC: to=<recv@externaldomain.com>, relay=us2.mx3.mailhostbox.com[208.91.198.50]:25, delay=583, delays=508/0.02/75/0, dsn=4.4.2, status=deferred (lost connection with us2.mx3.mailhostbox.com[208.91.198.50] while receiving the initial server greeting)
Jan 20 12:13:46 mail postfix/smtp[25801]: 35A0F826CC: to=<recv@externaldomain.com>, relay=us2.mx3.mailhostbox.com[208.91.199.202]:25, delay=1482, delays=1407/0.03/75/0, dsn=4.4.2, status=deferred (lost connection with us2.mx3.mailhostbox.com[208.91.199.202] while receiving the initial server greeting)

----

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 while receiving the initial server greeting

Forget to mention, i had already checked port 25 is open and i am able to telnet to port 25 of external domains from mail server.

3

Re: lost connection while receiving the initial server greeting

Seems a network issue, not an iRedMail server issue. Did you update any network firewall/router settings?

4

Re: lost connection while receiving the initial server greeting

Thanks Zhang for pointing it out.
There was a firewall rule creating problem, disabled that rule now it is working fine.