[Postfixbuch-users] mime_header_checks

Andreas Meyer anmeyer at anup.de
Fr Jul 30 21:49:51 CEST 2004


Hallo!

Ich schlage mich grade mit mime_header_checks rum. Habe mime_header_checks.regexp
folgendermaßen definiert:

/^Received: from orange.anup.dmz (localhost [127.0.0.1])/       IGNORE
/^Received: from localhost/     IGNORE

In der main.cf:
mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp

postmap -v -q 'Received: from localhost' regexp:/etc/postfix/mime_header_checks.regexp
postmap: name_mask: subnet
postmap: mynetworks: 127.0.0.0/8 192.168.20.0/24
postmap: dict_open: regexp:/etc/postfix/mime_header_checks.regexp
postmap: dict_regexp_lookup: /etc/postfix/mime_header_checks.regexp: received: from localhost
IGNORE

Funktioniert also!


Was nicht funktioniert ist:
postmap -v -q 'Received: from orange.anup.dmz (localhost [127.0.0.1])' regexp:/etc/postfix/mime_header_checks.regexp
postmap: name_mask: subnet
postmap: mynetworks: 127.0.0.0/8 192.168.20.0/24
postmap: dict_open: regexp:/etc/postfix/mime_header_checks.regexp
postmap: dict_regexp_lookup: /etc/postfix/mime_header_checks.regexp: received: from orange.anup.dmz (localhost [127.0.0.1])

Der header sieht so aus:

Return-Path: <karl at mailshuffle.de>
Delivered-To: anmeyer at anup.de
Received: from cherry.anup.de (cherry.anup.dmz [192.168.20.210])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "cherry.anup.dmz", Issuer "CA-anup.de" (verified OK))
	by delta.anup.de (Postfix) with ESMTP id F32BBAAAA9
	for <anmeyer at anup.de>; Fri, 30 Jul 2004 21:37:23 +0200 (CEST)
Received: from orange.anup.dmz (orange.anup.dmz [192.168.20.61])
	by cherry.anup.de (Postfix) with ESMTP id A204C81AE
	for <anmeyer at anup.de>; Fri, 30 Jul 2004 21:37:22 +0200 (CEST)
Received: from orange.anup.dmz (localhost [127.0.0.1])
	by orange.anup.dmz (Postfix) with SMTP id 5276DAB70
	for <anmeyer at anup.de>; Fri, 30 Jul 2004 21:37:19 +0200 (CEST)
Received: from 192.168.20.60 (proxying for unknown)
        (SquirrelMail authenticated user karl at mailshuffle.de)
        by orange.anup.dmz with HTTP;
        Fri, 30 Jul 2004 21:37:19 +0200 (CEST)
Message-ID: <32943.192.168.20.60.1091216239.squirrel at orange.anup.dmz>
Date: Fri, 30 Jul 2004 21:37:19 +0200 (CEST)
Subject: test
From: karl at mailshuffle.de
To: anmeyer at anup.de


Ich habs auch schon mit
/^Received: from orange\.anup\.dmz (localhost [127\.0\.0\.1])/       IGNORE
und einigem anderen probiert, tuts aber auch nicht.

Kann dazu jemand was sagen? Postfix Version 2.1


Gruß
-- 
   Andreas Meyer




Mehr Informationen über die Mailingliste Postfixbuch-users