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.

EHLO incorrect (short / invalid) is not accepted

Discussion in 'E-mail Discussions' started by Psynetic, Jul 15, 2010.

  1. Psynetic

    Psynetic Member

    Joined:
    Jul 15, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    I'm having a problem sending an email while the same is rejected with the following error:

    Helo command rejected: EHLO incorrect (short / invalid) is not accepted

    I tested sending from another server it is delivered

    I use cpanel with exim cPanel 11.25.0-R46156 - WHM 11.25.0

    I appreciate any suggestion.

    Tks
     
  2. Miraenda

    Miraenda Well-Known Member

    Joined:
    Jul 28, 2004
    Messages:
    242
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Coralville, Iowa USA
    Is your hostname a fully qualified domain name such as server.mydomain.com on the machine?

    You can do this command to find your server's hostname in root SSH:

    Code:
    hostname
    If you only show server but not server.mydomain.com as the return, then your hostname isn't a fully qualified domain name and you would want to change it in WHM > Change Hostname area.

    Next, does the hostname match the IP you have for it on the machine? You can run this command to see the main server IP that goes with that hostname:

    Code:
    hostname -i
    You can then find the PTR (reverse DNS) for that IP:

    Code:
    dig -x IP# +short
    Replace IP# with the actual IP number for your hostname. If the IP's PTR and the hostname name do not match, the provider for that IP would be able to set the PTR record for you if you contact that provider to request it.
     
  3. Psynetic

    Psynetic Member

    Joined:
    Jul 15, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Is your hostname a fully qualified domain name such as server.mydomain.com on the machine?

    yes it is


     
  4. Psynetic

    Psynetic Member

    Joined:
    Jul 15, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Resolved

    In /etc/mailhelo the hostname was incorrect, change to correct hostname .
     
Loading...

Share This Page