How to fix error ‘421 Too many concurrent SMTP connections’ in cPanel and DirectAdmin servers
Managing and troubleshooting mail servers forms a vital part of the Outsourced Web Hosting Support services we provide to shared server owners.
Among the common mail server errors, 421 is a common one that happens due to ‘too many concurrent SMTP connections’. This error usually denotes a high-traffic recipient mail server.
[ Running a hosting business doesn’t have to be hard, or costly. Get world class Hosting Support Specialists at $10.94/hour (bulk discounts available) ]
What causes ‘Too many concurrent SMTP connections’ error?
Senders sending mails to a high traffic mail server can end up getting bounce mails. The error message in the bounce mail would usually be ‘421 Too many concurrent SMTP connections; please try again later.’
The error message denotes that the connections to the recipient mail server have exceeded the limit. This high traffic can sometimes be a temporary problem due to a spike in the connections.
But there maybe some other situations where the traffic is dangerous and expert intervention is required. For instance, spammers can hack email accounts and send bulk mails.
There could be some websites that have mass mailing scripts such as newsletters. Virus or malware in the server can enable the attackers to abuse the email server for spamming.
All these issues lead to a high mail server traffic and can end up bouncing mails coming to it. The solution for the error would depend on what caused the high traffic.
‘Too many concurrent SMTP connections’ error in Exim mail server for cPanel and DirectAdmin
cPanel and DirectAdmin are the two commonly used control panels in web hosting industry. The default mail server they use is the Exim.
In Exim mail server, there are many parameters to ensure ‘Resource control’. Resource control is crucial in a shared server where multiple users share the resources.
Without proper resource limits in place, one user or application can take up the entire memory for that process and cause the mail server to crash.
Some important resource control parameters used to manage Exim in cPanel and DirectAdmin servers are:
One of the commonly used setting to limit Exim resources is the ‘smtp_accept_max‘ parameter. It specifies the maximum number of simultaneous incoming SMTP connections that Exim will accept.
If the ‘smtp_accept_max‘ limit has been reached for Exim connections, due to the high traffic, further connections to the mail server are rejected.
For instance, in this server, the limit is set to 100.
root@host [~]# cat /etc/exim.conf |grep smtp_accept_max smtp_accept_max = 100
The rejected mails in such situations would bounce back to the sender, with the error message ‘421 Too many concurrent SMTP connections; please try again later.‘
[ You don’t have to lose your sleep to keep your customers happy. Our Hosting Support Specialists cover your servers and support your customers 24/7 at just $10.94/hour. ]
Bobcares provides Outsourced Hosting Support for online businesses. Our services include Outsourced Web Hosting Support, Outsourced Server Support, Outsourced Help Desk Support, Outsource Live Chat Support and Phone Support Services.
'Too many concurrent SMTP connections' error in Exim mail server421 Server busy421 service temporarily unavailable421 Unexpected failurecpanel mail erroremail errorserror '421 Too many concurrent SMTP connections; please try again later.'error 421exim errorplease try latertoo many concurrent SMTP connectionstry again later - psmtp