connection problem between E.F.A and Kerio
Posted: 10 Sep 2017 11:34
Hello,
I just started to use E.F.A as gateway. My mailserver is Kerio Connect. I follow the steps mention in the wiki of E.F.A to install E.F.A on a clean Centos 6.9 installation. That was easy enough and I have E.F.A running.
I gonna use E.F.A only to filter inbound mails. The hostname is efa3024 and FQDN is efa3024.my-domain.com. My Kerio mailserver (kc920-01.my-domain.com) handle mails for different domains.
For the domain test-my-domain.com I have point the MX records to the E.F.A. gateway. The gateway is also receiving mails that are sent to system@test-my-domain.com and are proces and filter by the gateway as it should.
The problem is that for some reason, the gateway can't send the mails to Kerio mailserver. If I look at the logs in /var/log/maillog on the E.F.A gateway, I see that the connection is being time out.
Sep 10 12:52:47 efa3024 postfix/qmgr[17546]: 9B8A85809BD: from=<root@efa3024.my-domain.com>, size=18717, nrcpt=1 (queue active)
Sep 10 12:52:47 efa3024 postfix/error[14782]: 9B8A85809BD: to=<system@my-domain.com>, relay=none, delay=2.9, delays=2.9/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to kc920-01.my-domain.com[xx.xx.xx.xx]:25: Connection timed out)
Sep 10 12:54:35 efa3024 postfix/pickup[13725]: 09B745809BF: uid=0 from=<root@efa3024.my-domain.com>
Sep 10 12:54:35 efa3024 postfix/cleanup[15079]: 09B745809BF: hold: header Received: by efa3024.my-domain.com (Postfix, from userid 0)??id 09B745809BF; Sun, 10 Sep 2017 12:54:35 +0200 (CEST) from local; from=<root@efa3024.my-domain.com>
Sep 10 12:54:35 efa3024 postfix/cleanup[15079]: 09B745809BF: message-id=<20170910105435.09B745809BF@efa3024.my-domain.com>
Sep 10 12:54:36 efa3024 postfix/qmgr[17546]: 88CA45809C0: from=<root@efa3024.my-domain.com>, size=586, nrcpt=1 (queue active)
Sep 10 12:54:36 efa3024 postfix/error[15086]: 88CA45809C0: to=<system@my-domain.com>, relay=none, delay=1.1, delays=1/0.02/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to kc920-01.my-domain.com[xx.xx.xx.xx]:25: Connection timed out)
I do not why the connection timed out. The Kerio mailserver is working, I do not have problem receiving mails from other mailservers.
Can someone point me to the right direction how to solve this problem.
Thank you very much.
Best regards.
PBX-Ramdas
I just started to use E.F.A as gateway. My mailserver is Kerio Connect. I follow the steps mention in the wiki of E.F.A to install E.F.A on a clean Centos 6.9 installation. That was easy enough and I have E.F.A running.
I gonna use E.F.A only to filter inbound mails. The hostname is efa3024 and FQDN is efa3024.my-domain.com. My Kerio mailserver (kc920-01.my-domain.com) handle mails for different domains.
For the domain test-my-domain.com I have point the MX records to the E.F.A. gateway. The gateway is also receiving mails that are sent to system@test-my-domain.com and are proces and filter by the gateway as it should.
The problem is that for some reason, the gateway can't send the mails to Kerio mailserver. If I look at the logs in /var/log/maillog on the E.F.A gateway, I see that the connection is being time out.
Sep 10 12:52:47 efa3024 postfix/qmgr[17546]: 9B8A85809BD: from=<root@efa3024.my-domain.com>, size=18717, nrcpt=1 (queue active)
Sep 10 12:52:47 efa3024 postfix/error[14782]: 9B8A85809BD: to=<system@my-domain.com>, relay=none, delay=2.9, delays=2.9/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to kc920-01.my-domain.com[xx.xx.xx.xx]:25: Connection timed out)
Sep 10 12:54:35 efa3024 postfix/pickup[13725]: 09B745809BF: uid=0 from=<root@efa3024.my-domain.com>
Sep 10 12:54:35 efa3024 postfix/cleanup[15079]: 09B745809BF: hold: header Received: by efa3024.my-domain.com (Postfix, from userid 0)??id 09B745809BF; Sun, 10 Sep 2017 12:54:35 +0200 (CEST) from local; from=<root@efa3024.my-domain.com>
Sep 10 12:54:35 efa3024 postfix/cleanup[15079]: 09B745809BF: message-id=<20170910105435.09B745809BF@efa3024.my-domain.com>
Sep 10 12:54:36 efa3024 postfix/qmgr[17546]: 88CA45809C0: from=<root@efa3024.my-domain.com>, size=586, nrcpt=1 (queue active)
Sep 10 12:54:36 efa3024 postfix/error[15086]: 88CA45809C0: to=<system@my-domain.com>, relay=none, delay=1.1, delays=1/0.02/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to kc920-01.my-domain.com[xx.xx.xx.xx]:25: Connection timed out)
I do not why the connection timed out. The Kerio mailserver is working, I do not have problem receiving mails from other mailservers.
Can someone point me to the right direction how to solve this problem.
Thank you very much.
Best regards.
PBX-Ramdas