Basierend auf den [https://blog.plitc.eu/2014/ispconfig-remove-sensitive-information-from-email-headers-with-postfix/ Blogpost] von [[Benutzer:Daniel.plominski|Daniel]] wollte ich meinen Postfix anweisen in Email die sensitive Informationen (Email Client IP usw.) zu bereinigen.
Beispiel:
<pre>
Return-Path: <c3d2@example.net>
Delivered-To: <fsteinel@example.com>
Received: from server.example.com
by example.com (Dovecot) with LMTP id abc1De23F4G5HIJKlMNopq
for <fsteinel@example.com>; Thu, 09 Apr 2015 19:19:41 +0200
Received: from [IPv6:2a00:1828:a008:103:6883:eefe:4240:6042] (unknown [IPv6:2a00:1828:a008:103:6883:eefe:4240:6042])
(Authenticated sender: c3d2)
by server.example.com (Postfix) with ESMTPSA id 12ABC3D4567
for <fsteinel@example.com>; Thu, 9 Apr 2015 19:19:41 +0200 (CEST)
Message-ID: <1234A5B6.7890123@example.net>
Date: Thu, 09 Apr 2015 19:19:37 +0200
From: c3d2 wiki <c3d2@example.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
| - || If a key value of - is specified, the program reads key values from the standard input stream and writes one line of key value output for each key that was found.