550 Your host is not allowed to connect to this server.

GoWilkes

Well-Known Member
Sep 26, 2006
554
21
168
cPanel Access Level
Root Administrator
This is for a shared server for which I am the admin. It's semi-managed elsewhere for hardware, but software issues usually fall on me.

As of yesterday, two clients have reported the same problem. Several of their customers from overseas have tried emailing them, but get the following error:

Code:
550 Your host is not allowed to connect to this server.

Connection to host lost.
This has been reported from one email sender from Brazil, another from Hong Kong, and another from Malaysia. Remember, these are external people getting an error when emailing my client, but the client has no error when emailing back. Running a trace through WHM returns with no errors.

I don't see any of the IPs listed in cpHulk or CSF. As a test, I completely disabled CSF for this server and asked the one from Malaysia to try again, but he's still getting the same error.

Presumably, this problem didn't exist until yesterday.

Any suggestions on what the problem might be, if it's not CSF or cpHulk?
 

GoWilkes

Well-Known Member
Sep 26, 2006
554
21
168
cPanel Access Level
Root Administrator
To my knowledge, the only place that checks RBLs is the CSF firewall (which is now disabled). Unless SpamAssassin does it? I have no idea how to check or change that.

I had compared the ones reported to MXToolbox before. One of them was listed in a blacklist for which I am unfamiliar, but their Senderbase.org reputation was "Good" so I don't know if that's relevant. All of the others that I checked came back with a clean record.
 

GoWilkes

Well-Known Member
Sep 26, 2006
554
21
168
cPanel Access Level
Root Administrator
The problem continues! Today, I tried sending an email through Quickbooks to a customer, which uses a separate server than the one in the OP. This one bounced with the following (where example.com = me, example2.com = recipient, and 1.2.3.4 = my IP):

Code:
From: Mail Delivery System [mailto:[email protected]] 
Sent: Thursday, February 02, 2012 10:29 PM
To: [email protected]
Subject: Mail delivery failed: returning message to sender

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    SMTP error from remote mail server after RCPT
TO:<[email protected]le2.com>:
    host extrpfx3.extrasecurity.com [67.29.153.36]:
    521 5.7.1 <example.com[1.2.3.4]>:
    Client host rejected: server ip location rejected, only accepts usa
My server is with Softlayer, and is definitely located in the US.

Does it look like it was rejected by MY server, or the recipients? If it was rejected by my server, presumably because it went through Quickbooks, then how do I whitelist it so that it's no longer rejected? Obviously, being able to send emails through Quickbooks is quite important!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is the actual error that provided as I have never seen this error message. It would appear to be the recipient server sending it out as cPanel would not use the message you've noted for the error - "Client host rejected: server ip location rejected, only accepts usa"

If you do a search for that exact error message in google, you receive no returns other than this forum thread, which supports it being the recipient server that has specifically setup that error message. You'd want to contact them for further information.
 

ruzbehraja

Well-Known Member
May 19, 2011
392
11
68
cPanel Access Level
Root Administrator
Is CSF using the Country Code block : CC_DENY ??
That maybe the reason why it says that it only accepts USA.

You may also want to check if there are any custom RBL's set.

To Whitelist, go to:

Exim Configuration Editor >>
Whitelist: IPs that should not be checked against RBLs [?]
A list of IP addresses that should not be RBL checked (whitelist).
 

Divino

Member
Jan 6, 2006
19
0
151
Probably the lock is here

WHM

Main >> Service Configuration >> Exim Configuration Editor >> Edit Blacklisted SMTP IPs