4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How to store the resu...
FromSent OnAttachments
Alain NAKACHEJul 18, 2003 3:12 am 
Devin RubiaJul 18, 2003 8:20 am 
Alain NAKACHEJul 22, 2003 2:44 am 
Devin RubiaJul 24, 2003 6:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] How to store the result of a pattern score to a maildrop variable ?Actions...
From:Devin Rubia (dev@thezone.net)
Date:Jul 24, 2003 6:01:54 am
List:net.sourceforge.lists.courier-maildrop

On Tue, Jul 22, 2003 at 11:43:24AM +0200, Alain NAKACHE wrote:

At 12:50 18/07/03 -0230, Devin Rubia wrote:

On Fri, Jul 18, 2003 at 12:04:54PM +0200, Alain NAKACHE wrote:

Greetings,

I want to store the result of a pattern score to a variable with the following filter rule : NBRECEIVED=/^Received:/:1 but maildrop(v1.5.3) returns me a syntax error.

Bug ?

What is the method to achieve this task ?

$ man maildropfilter

Go to the section titled "PATTERN MATCH RESULTS". Everything is detailed there.

No.

Not my question. I want to store the weighted score of a pattern in a variable, not retrieve successive matches.

Someone give me a better answer in [courier-user] :

NBRECEIVED=(/^Received:/:1)

Ah. Obvious once one sees it but non-obvious from the man pages and certainly not what I thought you were looking for.

My apologies.