Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Error: "bogus HELO"
For the sake of simplicity, the SMTP protocol (used for sending e-mails) includes several stages, the first of which consists of the sender announcing who they are via a command called HELO, which should be followed by a valid address.
If you receive errors referring to bogus HELOs, this means that parameters (used by the person attempting to write to you or by the software you are attempting to use) do not comply with the RFC ("Internet regulation"). This avoids the spread of viruses and spam.
For example, we refuse any message coming from a mail server called "server" instead of a complete name such as "server.domain.xyz" ("Fully Qualified Domain Name" or FQDN). An IP address cannot be used just to specify the server either. Examples of refused messages:
Remote server's mail service is not configured with a valid FQDN:
<code>220 mta-gw1.infomaniak.ch ESMTP Infomaniak Network Mail Servers;HELO 127.0.0.1</code>or the mail server is not configured to use a real FQDN:
<code>220 mta-gw1.infomaniak.ch ESMTP Infomaniak Network Mail Servers;HELO [127.0.0.1]</code>or the mail server is not configured to use a real FQDN:
<code>220 mta-gw1.infomaniak.ch ESMTP Infomaniak Network Mail Servers;HELO localhost</code>or the mail server returns a host name that is not in a canonical form (FQDN):
<code>220 mta-gw1.infomaniak.ch ESMTP Infomaniak Network Mail Servers;HELO www</code>or is on a list of HELOs blacklisted by us:
<code>220 mta-gw1.infomaniak.ch ESMTP Infomaniak Network Mail Servers;HELO fakedomaine.xyz</code>
This will always end in error:
<code>250 mta-gw1.infomaniak.ch Hello, pleased to meetyouMAIL FROM: user123@infomaniak.ch250 2.1.0 user123@infomaniak.ch... Sender okRCPT TO: user123@infomaniak.ch550 5.7.1 user123@infomaniak.ch... Access denied - bogus HELO [1] ...</code>
Steps to follow
Check the configuration of your mail server to ensure that it uses a correct HELO parameter when establishing the SMTP connection
References
http://www.faqs.org/rfcs/rfc2821.html (point 4.1.1.1)