550 email errors happens due to a multitude of reasons, ranging from a non-existing mail account to a wrongly added mail server rule.
Today, we’ll discuss the error ‘550-Unrouteable address’ based on the various scenarios we’ve noticed them happening, during our Web Hosting Support services.
When an email is sent, it is routed from the sender mail server to the recipient mail server over internet. The recipient later downloads the mail from his mail server.
The error ‘550-Unrouteable address’ occurs due to the routing issues that happen in this mail delivery process, which can be due to either the recipient or sender problems.
See how we can support your websites!
What causes the error ‘550-Unrouteable address’
The error message ‘550-Unrouteable address’ is usually shown to the sender in the bounce message he gets when attempting to send an email via mail clients such as Outlook or webmail.
From the complete bounce message, it is possible to know the exact reason for the error. Here, we’ll see the main reasons why this error happens and how to fix it.
1. Non-existent recipient domain
At times, the domain to which the mail was sent, may be non-existent. A typo in the email address can cause mail delivery attempt to an invalid domain.
Also, the recipient domain which was once existing, but got deleted or deactivated or expired, will no longer be routeable for the mail servers.
In such scenarios, the mails would not be delivered and would bounce back to the sender, giving the error ‘550-Unrouteable address’.
Solution:
Always validate the recipient email address you’ve given in the email for any spelling mistakes or errors.
Confirm that the domain is active and not expired, using the command:
whois domain.com
Verify the DNS resolution results and ensure the domain is resolving fine:
dig domain.com
[ Are your websites helping you get business? Our website support team gives you custom website solutions and fix all errors in your website in no time. ]
2. Incorrect MX records for the recipient domain
If the MX records are not set properly for the recipient domain, the sender mail server would be unable to route correctly to the recipient mail server.
Any error in the DNS settings for the recipient domain can render it unreachable by the other external mail servers.
If DNS changes are made recently, it may take some time to resolve in the Internet and during that time period, the domain may be unrouteable.
Any temporary DNS resolution issues with the sender’s ISP can make it unable to resolve the recipient domain correctly and fail to route mails to it.
Mails sent in all these cases may bounce back to the sender, giving the error message ‘550-Unrouteable address’.
Solution:
Verify that the MX records are correctly set for the recipient domain, using the command:
dig domain.com MX
Try connecting to the recipient mail server to the port 25 and confirm that the connectivity is working fine, using:
telnet domain.com 25
If you notice DNS errors or missing MX records or connectivity issues to remote mail server, then contact the recipient server support and get it fixed.
3. Lookup failure for sender mail server
Some mail servers have strict security settings configured, to avoid spamming. Looking up the sender domain is one such security measure.
If the sender mail server is in any spam blacklist, many recipients reject the mails from it. Some even accept mails only from grey-listed senders.
RDNS is another security check where the mail server IP and its hostname should map with each other. A PTR record is set to route the IP address to the sender server name.
Many receiving servers will reject mail from IP addresses whose PTR record does not match the sending address. If a mail server rejects mail as it couldn’t verify the sender properly, it would bounce the mail.
550 error can also happen while sending mails from scripts without configuring proper sender address. In such cases, the mails may go with sender address as root@hostname or some other invalid address.
If the sender address is not routeable or if the sender hostname in the header doesn’t resolve correctly, the recipient will reject the mail.
The error message in the bounce mail in such cases would be “550-Unrouteable address 550 Sender verify failed (in reply to RCPT TO command)”.
Solution:
Confirm that the RDNS for the sender mail server IP is set fine, using the command:
host ip-address
Blacklisting or rejections from the recipient mail server can be confirmed by looking up the Spam blacklist and confirming with the remote mail server.
In case of blacklisting, scan the server, remove all spamming scripts and implement security measures to secure the server.
Also make sure that all the email scripts are configured with valid sender and recipient email addresses, to avoid mails going as nobody or with invalid addresses.
[ A single misconfiguration may break your site! Click here for a customized and error-free website to help you boost your business. ]
4. Mail server configuration settings
In some mail servers such as Exim, there is a limit set for the number of emails a domain can send out every hour. If the sender exceeds this limit, the mails would bounce with the error ‘550-Unrouteable address’.
Wrong routing of the domain, where the mails are routing to remote server instead of local mail server, can also end up giving email error 550.
Anti-spam firewalls or certain security rules in the recipient mail server can lead to email bounces with 550 error.
How to fix the error ‘550-Unrouteable address’ in Exim server for cPanel/WHM
These are some ways to fix the 550 error, depending on the reason why the error happened.
1. Disable sender verification
If your server is the recipient server that is bouncing mails, the easiest work around for this error is to stop using sender verification against your email server.
In your cPanel/WHM server, you can turn off this with the setting “Verify the existence of email senders” under Exim Configuration Editor.
But this is not a recommended solution due to the security constraints, to avoid server from being spammed by scripts or malicious accounts.
2. Email limits for the domain
If your mail server is the sender, check the Exim logs to see if the error is due to the sender domain exceeding its maximum email limit.
To increase the maximum count of emails that a domain can send in one hour, in case of valid mails, use the Tweak Settings in cPanel/WHM.
The option “The maximum each domain can send out per hour (0 is unlimited)” can help to change the value – increase or decrease – based on the requirement.
[ Worried about your broken website? Get our server specialists’ assistance to fix your site from all errors. ]
3. Disable ‘nobody’ user mails
In cPanel/WHM servers where Apache is running as user nobody, mails sent from PHP scripts would be delivered as ‘nobody’ and can be rejected by some recipient servers.
To resolve this, enable PHPSuexec in the server. Prevent malicious scripts from sending out spam from the server, using the option ‘Prevent the user “nobody” from sending out mail to remote addresses’ in Tweak Settings of cPanel/WHM.
4. Check email routing
For a domain that has its mail server setup locally, confirm that an entry exists for that domain in the ‘/etc/localdomains’ file.
In certain special cases, the domain maybe hosted locally but need to use remote mail servers. In such cases, the domain should be removed from localdomains and added to ‘remotedomains’ file.
5. Email filters and forwarder
Verify the email filters and forwarders set for the recipient domain and confirm that there are no entries that cause mails to be bounced or forwarded to non-existing addresses.
The file ‘/etc/valiases/domain’ contains the email forwarders set for that domain and its email accounts. The email filters are stored under ‘/etc/vfilters’ for each domain.
How to fix the error ‘550-Unroutable address’ in Outlook, Thunderbird, etc.
As the error message is shown to the senders in their email program such as Microsoft Outlook, Outlook Express, Thunderbird, etc., many people tend to associate the error with these software.
But the fixes for the error are the ones discussed in this article, irrespective of the email client used. Checking the email address authenticity and mail client settings are vital, however, for mails to deliver.
In short..
Here we’ve discussed the various causes for the email error ‘550-Unrouteable address’ and how to fix it, specifically in Exim mail server for cPanel/WHM.
There isn’t a one-fix-all solution for any error. Examining the mail logs, testing the email routing and checking the mail server settings are some ways we identify and fix the issue.
Bobcares also gives recommendations to server owners on how to manage their server resources effectively. If you’d like to know how to fix your mail server, we’d be happy to talk to you.
It was very well described. Thankyou
Would it be because the domain got expired as well?
Yes. That can also be a reason. But, in such cases, website will not be accessible via browser too.