procmail
[Top] [All Lists]

Multi-line matches + backtick shell escapes

2002-02-17 23:57:01
I think I have a bug on my hands.

Given this email:
    
    From: bob
    Received: blah blah
        for <match>

This case works:

    :0 w
    * $ ^From: `echo bob`

And this case works:

    :0 w
    * $ ^Received.*match

And this case works:

    :0 w
    * $ ^.*match

But this case doesn't work (there is no match):

    :0 w
    * $ ^Received.*`echo match`


It appears that, when backtick shell escapes are involved,
the multiple lines of the Received field are NOT merged together
before the match is attempted.

Am I just plain friggin nuts??!?!

JulioB
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Multi-line matches + backtick shell escapes, JulioB <=