1

Topic: Helo command rejected: Host not found

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, I'd like to recieve emails from a mailserver which is not correctly configured (and it seems nobody is able to fix this) so I wanted to whitelist it.

As mail.log throws this error: "Helo command rejected: Host not found" I added a record in /etc/hosts like

123.123.123.123 int.domain.local

now the domain is resolvable but the error still exists.

The only temporary solution was to outcomment

reject_unknown_helo_hostname

Is there a way to set this exception just for one specific domain or ip?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Helo command rejected: Host not found

Add a whitelist in /etc/postfix/helo_access.pcre like this:

/^int\.domain\.local$/ OK