Beispiel einer Email mit Herdern und IPv6 Client, Test der Einstellungen hinzugefügt und links verschönert
This commit is contained in:
parent
22b8277554
commit
3aaeafe7a3
|
@ -1 +1,41 @@
|
|||
Basierend auf den Blogpost[https://blog.plitc.eu/2014/ispconfig-remove-sensitive-information-from-email-headers-with-postfix/] von [[Benutzer:Daniel.plominski]] wollte ich meinen Postfix anweisen in Email die sensitive Informationen (Email Client IP usw.) zu bereinigen.
|
||||
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
|
||||
MIME-Version: 1.0
|
||||
To: Herr F Steinel <fsteinel@example.com>
|
||||
Subject: test
|
||||
Content-Type: text/plain; charset=utf-8; format=flowed
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
test
|
||||
|
||||
</pre>
|
||||
|
||||
Testen der Einstellungen mit
|
||||
<code>postmap -hmq - pcre:/etc/postfix/header_checks_auth.pcre < testdatei</code>
|
||||
{| class="wikitable"
|
||||
|-
|
||||
! Parameter !! Erläuterung
|
||||
|-
|
||||
| -h || Enable message header query mode.
|
||||
|-
|
||||
| -m || Enable MIME parsing
|
||||
|-
|
||||
| -q || Search the specified maps
|
||||
|-
|
||||
| - || 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.
|
||||
|}
|
||||
|
|
Loading…
Reference in New Issue
Block a user