Loading ...
Sorry, an error occurred while loading the content.

Re: Two Real IP How to

Expand Messages
  • Wietse Venema
    ... Use multiple Postfix instances, where each instance has a different hostname: /some/where/main.cf: myhostname=hostname.example.com
    Message 1 of 2 , Sep 27, 2012
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.