Resolving Outlook error 0x80042109 in cPanel/WHM web hosting servers

Task ‘[email protected] – Sending’ reported error (0x80042109) : ‘Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).

A one-size-fits-all solution is not possible for this error as the issue might be in the PC/Laptop, at the ISP or even at your server.

PC/Laptop configuration issues
Though pretty rare, third-party firewalls and anti-virus software are known to block connection to certain IP ranges, which could include your server IP as well. In our troubleshooting, if we do not see a recent connection from the customer to our server, this is a possibility we investigate.

Some web masters would have duplicate profiles which will have an old mail server configured in it, and therefore would be trying to connect to the wrong mail server. When we do not see recent POP/IMAP requests, this possibility is also investigated.

ISP firewall issues
Some ISPs are known to block traffic through port 25 to minimize automated spam. This is the most common reason for Outlook error 0x80042109. We enable an alternate SMTP port in our cPanel/WHM servers to by-pass this block. This is enabled in WHM >> Service Configuration >> Service Manager >> “exim on another port”. We usually give the port number 587 as it is a standard SMTP port, and would therefore likely to be white-listed in third-party PC firewalls and anti-virus. Along with enabling the port in Exim, we also add this port to the firewall white-list to allow incoming connections.

Another very rare variation of ISP-level problem is when the Internet Exchange Point (IXP) of a country might not be relaying traffic to your server IP block. When a significantly large number of customers from the same geo location reports connectivity issues, this is an option we think about.

Server firewall issues
Occasionally server firewalls can block certain IPs or IP ranges based on anomalous behavior. Looking for the customer’s IP in the server’s firewall is one of the first things we do when we don’t see a recent connection on other service logs. In servers using iptables, the following commands are used to de-list an IP

 

# iptables -L INPUT -v -n | grep “xxx.xxx.xxx.xxx”
# iptables -D INPUT -s xxx.xxx.xxx.xxx -j DROP
# service iptables save

 

NOTE : If you use a firewall manager like CSF, make sure you de-list using that instead of direct de-listing from iptables.

The above were some common reasons for Outlook error 0x80042109. In web hosting support, each support request is unique. A long chain of possibilities exists that may have resulted in the issue. In our Help desk support services, we treat each customer as unique and explore all possibilities before giving a final solution.