1

Topic: Email Rejected hostname does not resolve to address

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1
- Deployed with iRedMail Easy or the downloadable installer?downloadable installer
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi

I have this rejected mail of a Bank, Its posible to add an exception. I see the error "you may see while maintaining iredmail server" web page so in this case I have to add Unknown in helo_access.pcre


Thanks

Dec 13 13:53:16 mail001 postfix/postscreen[19904]: CONNECT from [200.13.254.101]:11418 to [192.168.20.203]:25
Dec 13 13:53:22 mail001 postfix/postscreen[19904]: PASS NEW [200.13.254.101]:11418
Dec 13 13:53:22 mail001 postfix/smtpd[19908]: warning: hostname mx1.davivalores.com does not resolve to address 200.13.254.101: Name or service not known
Dec 13 13:53:22 mail001 postfix/smtpd[19908]: connect from unknown[200.13.254.101]
Dec 13 13:53:22 mail001 postfix/smtpd[19908]: NOQUEUE: reject: RCPT from unknown[200.13.254.101]: 450 4.7.1 <mx1.davivienda.com>: Helo command rejected: Host not found; from=<por$
Dec 13 13:53:27 mail001 postfix/smtpd[19908]: disconnect from unknown[200.13.254.101] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5
Dec 13 13:54:24 mail001 postfix/postscreen[19904]: CONNECT from [200.13.254.101]:11977 to [192.168.20.203]:25
Dec 13 13:54:24 mail001 postfix/postscreen[19904]: PASS OLD [200.13.254.101]:11977
Dec 13 13:54:24 mail001 postfix/smtpd[19908]: warning: hostname mx1.davivienda.com does not resolve to address 200.13.254.101: Name or service not known
Dec 13 13:54:24 mail001 postfix/smtpd[19908]: connect from unknown[200.13.254.101]
Dec 13 13:54:24 mail001 postfix/smtpd[19908]: NOQUEUE: reject: RCPT from unknown[200.13.254.101]: 450 4.7.1 <mx1.davivienda.com>: Helo command rejected: Host not found; from=<por$
Dec 13 13:54:29 mail001 postfix/smtpd[19908]: disconnect from unknown[200.13.254.101] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5

----

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

2

Re: Email Rejected hostname does not resolve to address

lemopa wrote:

Dec 13 13:53:22 mail001 postfix/smtpd[19908]: NOQUEUE: reject: RCPT from unknown[200.13.254.101]: 450 4.7.1 <mx1.davivienda.com>: Helo command rejected: Host not found; from=<por$

It says "Helo command rejected", yes you should whitelist it in /etc/postfix/helo_access.pcre.

3

Re: Email Rejected hostname does not resolve to address

ideally, the people at davivienda.com should conform to RFC 1912 and set up a PTR record for their host mx1.davivienda.com