1

Topic: I'm back with a new install

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1,1
- Deployed with iRedMail Easy or the downloadable installer? no
- 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? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Issue I have is seems any mail coming in is getting rejected:

Feb 16 07:59:06 mx postfix/postscreen[6830]: PASS NEW [40.107.236.66]:31585
Feb 16 07:59:06 mx postfix/smtpd[6833]: connect from unknown[40.107.236.66]
Feb 16 07:59:07 mx postfix/smtpd[6833]: Anonymous TLS connection established from unknown[40.107.236.66]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Feb 16 07:59:07 mx postfix/smtpd[6833]: NOQUEUE: reject: RCPT from unknown[40.107.236.66]: 450 4.7.1 <NAM11-BN8-obe.outbound.protection.outlook.com>: Helo command rejected: Host not found; from=<dcihon@iENGtoBUILD.com> to=<danc@dccathome.com> proto=ESMTP helo=<NAM11-BN8-obe.outbound.protection.outlook.com>
Feb 16 07:59:07 mx postfix/smtpd[6833]: disconnect from unknown[40.107.236.66] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6

----

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

2 (edited by dcihon 2020-02-16 23:06:36)

Re: I'm back with a new install

I think I fixed my problem.
I changed some setting in main.cf
I put my actual domain info in instead of the domain of the server that iredmail is on.
To fix the problem I added my network ip range into the mynetworks line as shown below:

myhostname = mail.dccathome.com
myorigin = mail.dccathome.com
mydomain = mail.dccat.home.com

# trusted SMTP clients which are allowed to relay mail through Postfix.
#
# Note: additional IP addresses/networks listed in mynetworks should be listed
#       in iRedAPD setting 'MYNETWORKS' (in `/opt/iredapd/settings.py`) too.
#       for example:
#
#       MYNETWORKS = ['xx.xx.xx.xx', 'xx.xx.xx.0/24', ...]
#
mynetworks = 127.0.0.1 [::1], 192.168.68.0/24

3

Re: I'm back with a new install

dcihon wrote:

Feb 16 07:59:07 mx postfix/smtpd[6833]: NOQUEUE: reject: RCPT from unknown[40.107.236.66]: 450 4.7.1 <NAM11-BN8-obe.outbound.protection.outlook.com>: Helo command rejected: Host not found; from=<dcihon@iENGtoBUILD.com> to=<danc@dccathome.com> proto=ESMTP helo=<NAM11-BN8-obe.outbound.protection.outlook.com>

Postfix says (A type) DNS query of HELO hostname "NAM11-BN8-obe.outbound.protection.outlook.com" doesn't return any IP address. it's possible that the DNS server(s) used by your server doesn't work correctly, please double check.

This is not related to your network ip range nor "mynetworks" change.