OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Help
From: Wietse Venema (wietseporcupine.org)
Date: Sat Dec 02 2000 - 09:13:32 CST


Varadi Gabor:
> On Fri, Dec 01, 2000 at 02:29:42PM -0500, Wietse Venema wrote:
> > Each mail header is regexp/pre-matched as one logical line of text,
> > even when the header contents span multiple physical lines.
> >
> OKE.
>
> Can't write regexp, one logical line, if line contains '??' this
> transformed 0x0d+0x09 (CR)+(TAB).

You can match header lines with PCRE or REGEXP just fine.

The text:

    Received: from foo.bar (foo.bar [1.2.3.4])
            by splot.barf ...

Is transformed by Postfix info:

    Received: from foo.bar (foo.bar [1.2.3.4]) NEWLINE TAB by splot.barf ...

> My match after '??'

Why bother? Specify:

        /^received: .* by splot\.barf / REJECT

or whatever you want to do with it.

        Wietse