postfix-users January 2012 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: 2 separate postfix instances and confusion wi

Re: 2 separate postfix instances and confusion with IP's in received field of mail message HELP!

From: damian freelance <damian.freelance_at_nospam>
Date: Sat Jan 07 2012 - 01:22:49 GMT
To: Postfix users <postfix-users@postfix.org>

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 <wietse@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
>