Internet <-> Router <-> Servers

I have serval Server in my network
& my router can alias the Multi-Public IP to different private-IP
only the iredmail server open port 25 & 110 in router

case:
web server - 1.2.3.4
iredmail server - 1.2.3.5
ftp server - 1.2.3.6

when I send out email to Gmail & look in the source of mail
I can found that, sometime the email send out from ip 1.2.3.4 / 1.2.3.6

Now can I fix the IP it send out

因為本人有2台 iRedMail Server with same Domain, different Host Record

Help...How to set postfix send local email route to internet & Back

a@abc.com send email to b @abc.com

email will delivery like
a@abc.com -> email server -> internet -> DNS MX RECORD -> email server -> b@abc.com

工能:
1 只能Send, 不能Receive, 作EDM 用途 (Server 1)
2 收發日常Email (Server 2)

Setting:
DNS:
1. edm.abc.com -> IP1 (Server1 IP)
2. mail.abc.com -> IP2 (Server2 IP)
abc.com MX mail.abc.com

這樣外來send入的Email 就不會投入EDM Mail Server (Server1)

但現在由EDM Mail Server Send Out, 不能投入 mail.abc.com (Server2)
Recipient address rejected: User unknown in virtual mailbox table;
因為Server 1 沒有, Server 2 的 Email Account

eddiechen 写道:

估计需要你再详细描述一下,在什么情况下,会出现这种情况,有这样的需求。

因為本人有2台 iRedMail Server with same Domain, different Host Record

工能:
1 只能Send, 不能Receive, 作EDM 用途 (Server 1)
2 收發日常Email (Server 2)

Setting:
DNS:
1. edm.abc.com -> IP1 (Server1 IP)
2. mail.abc.com -> IP2 (Server2 IP)
abc.com MX mail.abc.com

這樣外來send入的Email 就不會投入EDM Mail Server (Server1)

但現在由EDM Mail Server Send Out, 不能投入 mail.abc.com (Server2)
Recipient address rejected: User unknown in virtual mailbox table;
因為Server 1 沒有, Server 2 的 Email Account

Help...How to set postfix send local email route to internet & Back

a@abc.com send email to b @abc.com

email will delivery like
a@abc.com -> email server -> internet -> DNS MX RECORD -> email server -> b@abc.com