postfix address masquerading/header rewriting
Hi, I red the postfix docs, but doesn't get a grip on my problem: In an installation of SuSE 7.2/postfix-20010228pl02-8 I suffer from following problem: Although I've activated masquerading, one can easily find the sending host in the Received: header incl. ip address. Is there any way to get rid of it: xyz = external domain int = internal domain Received: from xyz.de (sendinghost.int.de [192.168.15.14]) by mail.int.de (Postfix on LISA Linux (i386)) with ESMTP id C39416105 for <somebody@anywhere.com>; Thu, 4 Jul 2002 15:37:31 +0200 (CEST) Also I would like to get of the Sender: header, generated by Netscape Mail: Sender: sb@int.de The reason is very simple: hiding any internal details. Any hints highly appreciated. TIA, Hans-Peter
Hans-Peter Jansen wrote:
Received: from xyz.de (sendinghost.int.de [192.168.15.14]) by mail.int.de (Postfix on LISA Linux (i386)) with ESMTP id C39416105 for <somebody@anywhere.com>; Thu, 4 Jul 2002 15:37:31 +0200 (CEST)
Also I would like to get of the Sender: header, generated by Netscape Mail:
Sender: sb@int.de
use header_checks for that: /^Received.*from.*xyz\.de \(.*\.int\.de \[192.168/ IGNORE and /^Sender: .*@int\.de/ IGNORE that removes the lines from the header. HTH -- Web: http://www.darkman.de - IRC: irc://irc.d-t-net.de Realitaet ist nur die Wahrnehmung einer Einbildung (c) by Sven 'Darkman' Michels 1999-2002
participants (2)
-
Hans-Peter Jansen
-
Sven 'Darkman' Michels