The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by GoWilkes, Feb 1, 2012.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
  2. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Check any RBL's you might be using to see if the sender domains are listed. Here is a good place to check them: Email Blacklist Check - See if your server is blacklisted

    Also if you have SPF checks turned on, it is possible their SPF record is incorrect. That mxtoolbox site has a lot of tools for checking that sort of thing.
     
  3. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  4. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    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:Mailer-Daemon@example.com] 
    Sent: Thursday, February 02, 2012 10:29 PM
    To: me@example.com
    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:
    
      recipient@example2.com
        SMTP error from remote mail server after RCPT
    TO:<recipient@example2.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!
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
  6. ruzbehraja

    ruzbehraja Well-Known Member

    Joined:
    May 19, 2011
    Messages:
    383
    Likes Received:
    7
    Trophy Points:
    18
    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).
     
  7. Divino

    Divino Member

    Joined:
    Jan 6, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Probably the lock is here

    WHM

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

Share This Page