Feel Zhou:
> Hello, My friend
>
> I have a mail server, put it into the room who give me real IP
> Generally, I set the postfix via server name and the real IP
> It's working well. everything is good to use
> My mail server have two network adapter
> eth0 inet addr: 1.2.3.4 (example)
> eth1 inet addr: 5.6.7.8 (example)
> Question is how can I use the second IP address ?
Use multiple Postfix instances, where each instance has
a different hostname:
/some/where/main.cf:
myhostname=hostname.example.com
inet_interfaces=$myhostname
References:
http://www.postfix.org/INSTALL.html#send_receive
http://www.postfix.org/MULTI_INSTANCE_README.html
Wietse