delay in sending email by remote smtp server

behinam

Well-Known Member
May 9, 2017
77
5
58
Dubay
cPanel Access Level
Root Administrator
I have two separate Linux servers. The first one is my web server and the 2nd one is a mail server. I have run mail server with Exim and SMTP. The problem is that when I want to send an email from my website through the mail server, it takes exactly 20 seconds for each mail to be sent! Here's the log for an email:

2018-12-03 18:49:23 SMTP connection from [Ipaddress]:40840 (TCP/IP connection count = 1)
2018-12-03 18:49:43 1gTsLn-0001aM-Hl <= [email protected] H=static.ipaddress.clients.your-server.de (mydomainname) [ipaddress]:40840 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_login:[email protected] S=51605 [email protected] T="\357\243\277 Store - \330\250\330\247\330\262\333\214\330\247\330\250\333\214 \330\261\331\205\330\262 \330\271\330\250\331\210\330\261" for [email protected]

I also added the ip addresses on the hosts file of both servers and put IPs in the whitelist in firewalls. I don't have this problem on other servers in which web server and mail server are on the same machine. Any help is appreciated
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @behinam

This sounds like network latency between the two servers, this really isn't something we'd be able to assist with. The connection seems to occur without issue and the transaction completes as intended. I'd suggest bringing this up to your datacenter to see if they'd be able to assist you with ensuring the connection between the two is not inhibited by anything.


Thanks!