rejected: Invalid HELO/EHLO; Cannot resolve

Discussion in 'Installation/Configuration' started by pecka33, Oct 20, 2020.

  1. pecka33

    pecka33 Member


    some mails are rejected and i get back error message with
    Action: failed
    Status: 5.7.1
    Remote-MTA: dns;
    Diagnostic-Code: smtp; 554-5.7.1 <xy>: Recipient address
    rejected: Invalid HELO/EHLO; Cannot resolve 'xyz', no such
    domain 554 5.7.1 For assistance, contact your administrator or see Please provide the following information in
    your problem report: Time: (Oct 19 14:15:55), Client: (,
    Server: (xy).

    So i think i should change name of server xyz to IP address of vps I am using isp config, so probably this i have to change somewhere in postfix config via terminal?

    in etc/postfix/main cf i foiund line

    myhostname = xyz

    Can i change this to vps IP address or to localhost and all well be fine?
  2. pecka33

    pecka33 Member

    I tried to use
    hostname --fqdn

    i get same server as hostname, so xyz
    EDIT: i changed hostname from xyz - server name to domain name - and looks like that mails for this email address is just delivered without error message. I hope thats fine.
    Last edited: Oct 20, 2020
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Follow the Perfect Server guide for your distribution to set up your hostname correctly.

Share This Page