procmail
[Top] [All Lists]

Re: Recipe assistance...

1997-04-28 11:53:00
On Monday 28 April 97, at 16 h 2, the keyboard of Anders Eriksson 
<Anders(_dot_)C(_dot_)Eriksson(_at_)telia(_dot_)se> wrote:

What I really want is a conditional indicationg wether there was a `hit` 
in at least one of the recipes above. How do I get that?

:0
* ^FROM_DAEMON
* ^TO .*exmh-users.*$
{
        :0f
        | formail -i'X-Processed: true'

        :0wc
        | /usr/local/lib/mh/rcvstore +lists/Exmh-workers -nocreate

}

:0
* ^X-Processed: true
/dev/null

You can even use scoring to count how many hits were done :-)

<Prev in Thread] Current Thread [Next in Thread>