Topic: Send mail from private IP to iRedMail public IP
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MYSQL edition
- Linux/BSD distribution name and version: Ubuntu 16.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- 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 a small network with 192.168.0.0/24 as LAN and Public DMZ, where my servers are. one of them is iRedMail.
I want to allow few servers to be able to send mails without authentication, like reports and etc., to mailboxes hosted by iRedMail, which has Public IP.
The internal domain is not resolvable from Public DMZ and cannot add DNS records for it.
The diagram below shows the setup. There is no NAT between internal network and the iRedMail server, which means that in the iRedMail logs the connection from internal LAN are seen with their actual IP addresses. In this case 192.168.0.200
I didn't manage to achieve this setup, no matter that i have listed the 'trusted' internal servers into mynetworks or something else, so that the mails coming from those 'trusted' servers to bypass all the security checks which iRedMail has.
I know that if I add the local fake domain into iRedMail, this may solve the case, but this something which I want to avoid, as I will end up with list of bunch of internal domains on the iRedMail admin panel.
Is there a simple why to do it?
Thanks in advance.
BR,
Stan
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.