Quote:
Originally Posted by mlpw I had previously tried editing /opt/zimbra/postfix/conf/main.cf and added Code: masquerade_domains="domain.com" Neither what I did or your suggestion works as I am still seeing this in the outgoing message header:
Received: from host.zone.domain.com (host.zone.domain.com [192.168.20.2]) by zimbra.domain.com (Postfix) with ESMTP id 5870116BD472 for ; Sun, 13 Apr 2008 09:04:22 -0400 (EDT)
I don't want the header to show the host, zone or IP information. The header should look like this:
Received: by zimbra.domain.com (Postfix) with ESMTP id 5870116BD472 for ; Sun, 13 Apr 2008 09:04:22 -0400 (EDT)
Any other ideas. |
While further researching this it seems that Address Masquerading might not do what I want.
I found an alternative solution would be to create a Header Check to rewrite the "Received:" header. It would strip out all of the from host information and leave the rest of the header.
Here is what the original header would look like:
HTML Code:
Received: from host.zone.domain.com (host.zone.domain.com [192.168.20.2]) by zimbra.domain.com (Postfix) with ESMTP id 5870116BD472 for <user@yahoo.com>; Sun, 13 Apr 2008 09:04:22 -0400 (EDT)
and here is what I want it look like:
HTML Code:
Received: by zimbra.domain.com (Postfix) with ESMTP id 5870116BD472 for <user@yahoo.com>; Sun, 13 Apr 2008 09:04:22 -0400 (EDT)
The problem is I am not that good with writing regular expressions.
I know "/opt/zimbra/conf/postfix_header_checks.in" should look something like this:
/^Received: from "something1"/ REPLACE Received: "something2"
Can someone help me with what the "somethings" should be?
Thanks.