Topic: Sending mail via internal postfix
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: Ubuntu 18.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MARIADB
- Web server (Apache or Nginx):Nginz
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
I have a iRedMail installation running in a cloud VM with public IP address for domain test123.net
I have a network using 172.16.24.0/24 where my internal services/servers are.
I have internal postfix server, which is allowed on the company firewall to relay emails (send from internal systems) to external iRedMail. Internal system/services cannot send email directly to iRedMail for various reasons, like but not limited to configuration limitations and etc. I have configured separate email accounts, just in case for each system, I have configured port 2525 based on this how to: https://docs.iredmail.org/additional.smtp.port.html, but still when try to send email from internal system via internal mail relay to the iRedMail server with different recipients: email@example.com, firstname.lastname@example.org, in iRedMail server I get this:
RCPT from unknown[IP address of the fireall NAT IP]: 554 5.7.1 <email@example.com>: Sender address rejected: Access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<printer1.local>
printer1.local is one of the printers which we have and which tries to send scanned document to external user.
Can you please advise how to solve this and allow mails coming from that internal mail server (no matter the sender, as we have many or service/server) to be accepted by the iRedMail server and delivered based on their destination?
----Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.