Thx for all answers. Setting sendmail_path = /usr/sbin/sendmail -t -i -C /etc/postfix-third in httpd.conf did the trick. Now mails have correct ip/domain information.
2012/1/6 Wietse Venema <wie...@porcupine.org> > damian freelance: > > Hi, i have a problem with my 2 postfix instances. 2 separate IP's and > > coressponding domain names are setup on networking, they are working > fine. > > I want second mail message (below) to have <br> > > `Received: from firstInstanceDomain.com (firstInstanceDomain.com. > > [second.domain.ip])` <br> > > instead of <br> > > `Received: from secondInstanceDomain.com (secondInstanceDomain.com. > > [second.domain.ip])` <br> > > The content of the Received: header is: > > Received: from client-helo-argument (hostname-of-client-ip-address > [client-ip-address]) by server-myhostname ... > > The SMTP client by default sends $myhostname in the EHLO command. > > The purpose of the Received: header is to record what happened, not > to rewrite history to something prettier than what happened. > > Wietse >