One public ip is an official MX-record and I need postfix to accept
eMails for certain domains (usually incoming mail) and relay them to
another dyndns-ip postfix installation, which will only accept those
domains for local storage. Then I am running a webserver on the same
machine where the official mx-postfix installation is (with the other
public ip) and I need the same postfix to accept all eMails (usually
external outgoing mail) from the webserver and relay them (auth) to a
provider-mailer (wp180.webpack.hosteurope.de)
Basically postfix should answer for the incoming eMails with "postfix
2.5 for abc.com" and for the outgoing with "postfix 2.5 xyz.com", so
that it is impossible to determine which official mx has accepted which
virtual domains...
Any ideas?
Am 28.09.2011 13:03, schrieb Wietse Venema:
Thomas Trepper:
Ok, I try it again:
I have Postfix 2.5 on ubuntu 8.04.4. One physical interface with two
public IPs.
eth0 -> 10.0.0.1 -> needs relay (with auth) for abc.com, def.com, ghi.com
to myIp.dyndns.org
eth0 -> 10.0.0.2 -> needs relay (with auth) for * (all) to
wp180.webpack.hosteurope.de (runs later on 127.0.0.1 only, therefore no
open relay)
How can I do that? What do I have to put in main.cf and what in master.cf
Maybe you can describe the problem, instead of the solution (multiple
IP addresses and relayhost overrides).
Wietse