Postfix and multiple IPs/Domains

Discussion in 'Server Operation' started by jseedev, Mar 28, 2010.

  1. jseedev

    jseedev New Member

    I have a CentOS 5.4 box, running ISPConfig 3. I have about 5 additional IPs configured on this server. I have all the IPs configured in ISPConfig (not that it applies to the problem at hand) and have 2 sites setup through ISPConfig. and hosts the nameservers for points to the primary IP - lets call it points to a secondary IP - lets call it

    When I use PHP mail() to send an e-mail from, my "Received From:" header shows the primary IP ( instead of the IP assigned to (

    My question is, how do I get postfix to sign the outbound e-mails from sendmail.postfix as the triggering domain? (In this instance, or

    I know that I can modify ALL outbound headers with /etc/postfix/ and changing $myhostname, but I want the header to be marked with the triggering domain's assigned IP or hostname (either would suffice).
  2. raczkowski1

    raczkowski1 New Member

    I have the same problem, diid you do it?

  3. falko

    falko Super Moderator ISPConfig Developer

Share This Page