On 4/22/2011 6:41 PM, ben thielsen wrote:
there must be something basic i'm overlooking?
i'm a fool.
Cool! Me too! but I'm working on lowering the percentage.
this all works just as it should, when the operator does what he should.
Glad you got it working.
Peace,
-- Noel Jones
> i've shortened it to a very rudimentary expression and just a single line
> match - it appears to be related somehow to the -h argument:
>
>> cat header_checks-ignored
> /^Received/ IGNORE
>
>> postmap -q - pcre:./header_checks-ignored < test_message
> Received: from localhost (localhost [12
> I copied your test message and expression. It works for me.
>
> postmap -hq - pcre:./header_checks-ignored< test_message
> Received: from localhost (localhost [127.0.0.1])
>by mta.example.com (Postfix) with ESMTP id 76ABF40DF1
>for ; Tue, 19 Apr 2011 22:50:30 -0400 (EDT) IGNOR
On 4/22/2011 5:18 PM, ben thielsen wrote:
b...@bitrate.net:
postmap -q - regexp:./header_checks-ignored< test_message
You need to tell postmap that the file contains an email message.
ugh. i knew this too, and was even doing it last night when originally
testing. thanks. so - given that
> b...@bitrate.net:
>>> postmap -q - regexp:./header_checks-ignored < test_message
>
> You need to tell postmap that the file contains an email message.
ugh. i knew this too, and was even doing it last night when originally
testing. thanks. so - given that oversight, and also switching to pcr
On 4/22/2011 3:21 PM, b...@bitrate.net wrote:
i'm experimenting with removing certain "internal" received
headers, and am having trouble constructing a proper header
check to match headers which span multiple lines.
cat test_message
Delivered-To: f...@example.com
Return-Path:
Received: from l
b...@bitrate.net:
> >postmap -q - regexp:./header_checks-ignored < test_message
You need to tell postmap that the file contains an email message.
Wietse
POSTMAP(1) POSTMAP(1)
NAME
postmap - Postfix lookup table management
i'm experimenting with removing certain "internal" received headers, and am
having trouble constructing a proper header check to match headers which span multiple
lines.
cat test_message
Delivered-To: f...@example.com
Return-Path:
Received: from localhost (localhost [127.0.0.1])
by m