On Wed, 13 Feb 2002, Philip Guenther wrote:
Udi Mottelo <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il> writes:
Prompt# time cat yoramg > /dev/null
[...]
I try this:
...
:0 fb
* sarit
| /bin/true
What's the 'f' flag doing there? And doesn't 'h' make more sense than 'b'?
Perhaps you meant to write:
:0 ih
* sarit
|/bin/true
But, but, I want to kill messages only when the string "sarit"
is in the body.
However, as long as you're not using multiple rcfiles on the command
line, the fastest way to drop the message in procmail is to misset the
HOST variable, ala:
:0
* sarit
{ HOST }
Thanks Philip, I think thats what I'm looking for !
Any idea? Is procmail has a keyword to say "drop the message"
....
Adding the 'h' flag to the /dev/null delivery should drop its time to
a small constant. Or use the HOST assignment trick. (Do you really
discard so many messages that less than a tenth of second per-discard
really matters? You must be discarding thousands of messages!)
There are two problems here:
<1> Procmail ignores the return status of the pipe! (?)
<2> Yes, the traffic is busy and the messages are big. I gave
the 20M as example because we are going to limit the size of the
messages.
Bye,
Udi
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail