Bobcares

‘550-Unrouteable address’ – What causes it and how to fix it in Exim, cPanel and Outlook

by | Sep 9, 2016

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.

How email routes from sender to recipient

How email routes from sender to recipient

 

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.

 

 

Is your website stable and unique for your business?

Don't let a poor website design or site errors affect your business. We're here to help you.

CLICK HERE TO GET AN ERROR-FREE SITE

var google_conversion_label = "Blp0CLCojHIQ0aD71QM";

3 Comments

  1. Asmit

    It was very well described. Thankyou

    Reply
  2. IJD

    Would it be because the domain got expired as well?

    Reply
    • Sijin George

      Yes. That can also be a reason. But, in such cases, website will not be accessible via browser too.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF